What to do if you can't get connected to WIFI
There are several things you can do if you can't get connected to your WiFi hotpot or router.
1). Some channels work better than others. 1 and 6 are popular and work well for many people. If you can get connected at all, download WiFi Analyzer This app will give you an idea what channels may be available or over lapping with a nearby router.
2). Restart your router. This sounds simple but has been the solution for many people. Routers frequently accumulate garbage in the system that can be dumped by removing the power cord for at least 30 seconds then plugging it back in. After the router has made a connection, restart your phone. You also should check to see if there is a firmware update for the router. That could make all the difference. In a few cases some people just replaced an really old router and ended up really happy they did.
3). As is the case with some other devices, Android phones (and tablets) don't always do a great job of telling you there is an error when inputting your password or passphrase. If your phone says it is trying to connect for more than 10-15 seconds you may have mistyped the required information. It's also possible it may just say "saved" and do nothing. Tap the connection and tell it to forget your credentials and try again. If your phome at some point says saved but you are obviously not connected, you may have a poor signal from the router or you are too far away, or there is other interference or it can also happen at times if can't authenticate with the router correctly.
4). I have found that the some Android phones don't work well or at all with WEP encryption on some routers, though some do work, so your may want to try using WPA/WPA2 or equivalent. This is better security than WEP anyway. If you still can't connect but see a strong signal try no encryption long enough to determine that it is possible to connect and adjust accordingly.
5). In order to narrow the problem down, if all else is failing, try connecting to a public hotspot or a friend's router.
6) If 1-5 don't help, try a restart. Or turn it completely off and back on.
Other misc possibilities. If your router is set to b/g/n or some combination, try setting to only one, like g only. If in doubt try multiple public hotspots before accusing your phone of having a problem.
There are some things you can do to improve your WiFi. Cordless phones typically operate at 2.4 GHz, so do some Android phones. Keep cordless phones as far away as possible from your WiFi router. Same applies to a microwave oven.
There are repeaters available. The best ones would be the same brand as the router but others work. ASUS has a portable router that can act as a repeater/extender for just about any router, model WL-330N3G. (This mobile wireless router will also work with select 3G dongles).
Additional suggestions welcome.