Check the signal strength and if it's a bit low, move the router (or the computer); if you have a strong signal, get a WiFi Scanner App and see how many other WiFi networks are in your area, you might just be getting interference from other (neighbouring) networks.