What device do you have Kodi installed on? Kodi is just an app on the device. You need to go back out to your operating system and connect to your new wifi.