You’ve provided very limited information to go with, but a lot of the times this happens because of incompatible routers. To begin with, try to restart your router and see if it gets fixed.
If @akash.nu advce doesn’t solve the problem, try this: Select your Wifi in the Settings, open the information panel (click the blue circled i) and deselect “Private Address“. This might solve the problem.