Switch between option menu with a button

In my web application, I need a button on the right side of the first option menu page, when I click it, my page will change to the second menu.
How can I have this feature in streamlit?
streamlit