Connecting HA to wifi

Hello, I tried to connect to wifi using spa_supplicant.conf, but after some time I changed router and I want to reconnect it to other network, but I don’t know how to reconnect it. How I can reconnect it to different network without reinstallation? Thank you Klimš.