Angular 9 - Refetech the same data on clicking back button

I am beginner to Angular, I need help from you, I have stuck in one problem

Scenario: I am working on angular9, based on the requirement, I have used dropdown list, whenever selecting options from dropdown, automatically user table will be shown based on the selected option

Problem : After clicking the next button or going to the next page for more info, then again I need to go back to see the same selected option(clicking back button or browser back button)

How to see the selected options list…?

What is the method/procedure to gather the selected option…?

I have tried the router method , but it is not working