How to change wifi credentials aftr installing the Home Assitant on raspbery pi?

is it possible to make the home assistant have the credentials for 2 wifi networks and connect to the network which is available at the time!!!???

Or is it possible to change the wifi credentials after the home assistant is installed on the Raspberry Pi 3B?