Try the following solutions:
1. Restart your router
Try turing off the router for 10-15 seconds and turn it back on again. Once the restart completes, try using it again and see if it helps fix the issue.
2. Check other devices using WiFi and make sure noone uses the Wifi network for bandwidth...