Prevent users from users viewing same page via back button

Prevent users from users viewing same page via back button

I have some pages that perform certain actions on load. If a user visits them, moves on, then passes through them again using their back button, the load action is performed again.

How can I prevent users from using their back button?
Or display a different page when the page is visited from the back button?
Or prevent actions from being carried out on load when visited from the back button?

I was wondering about a solution using a unique ID generated per page view - but that would create a crazy number of records in my database.

Thanks.