Thanks for the question, and welcome to Apple Support Communities. The easiest solution may be to simply restart your router, but you can also see these resources:
Check to see if you have a self-assigned IP address:
1. Tap Settings > Wi-Fi and locate the Wi-Fi network to which you are connected. Then tap .
2. If your IP address is 169.254.xxx.xxx, see this article.