How to switch from one component to another according to what you select in a selection

I have a component with a selection and when I select an option, I need to access another page with another selection.