Page refreshing

Hi All,
I have 5 pages which contains 5 links each. Once I automate on first page, i have to navigate to the second page and then to extract contents by clicking the 5 links. My problem is when I click first link, it is working. But when i click on second link in second page the page is getting refreshed and comes back to the first page. How do i make the webpage stable?

observe the behavior of your application. when it get refresh and comes back to 1st page… just check manually if you are able to click back button on the browser and goes to required 2nd pages (old page before refresh).

if that is going back then include in your steps and manage…
Hope my inputs are useful