Back Page Reverts Cart

I’m making a shop that allows you to select one item from a page at a time. I’m worried that if someone presses the back arrow at the top of their browser, they will be able to add in a second item to their cart from the same page. Is there a way to ensure that if someone presses the back arrow then the cart will also revert to before they put the previous pages item into their cart?