Is it possible to change the navigation bar (title, pages)?

Hey! Is it possible to change the navigation bar (title, pages) if on any page I press the button example: “go to the driver”. And after I press the button, the navigation bar will change(title, page)?

Thank you