For Navigate to any url :
driver.navigate().to("http://www.example.com");
For move backwards :
driver.navigate().back();
For move forwards :
driver.navigate().forward();
For refresh the page :
driver.navigate().refresh();