Could be a number of interference problems related to wireless networking. Make sure you have newer router capable of maintaining wireless connections. Older routers didn't seem to care much if the connection flickered because this wasn't really noticeable in normal web browsing, just larger downloads and gaming. If you got something fairly recent, the problem could be other things.
A common interference is actually cordless telephones. You'll want to get Dect6.0 1.9GHz cordless telephones to avoid interference with wireless routers. Here's the one I'm using.
http://www2.panasonic.com/consumer-electronics/shop/Phones-Fax/Telephones/DECT-6-0-Phones/model.KX-TG1032S_11002_7000000000000005702I did quite a bit of research before buying this phone. It's expandable up to 6 handsets, requiring only one plugged into the wall. It's currently the number one ranked in it's class on consumer review websites and Amazon.
You can try disconnecting and unplugging all of your cordless phones in your house prior to purchasing to see if that was your problem. Another way to narrow this down as your problem is if you can usually stay on at night time when there are fewer to zero telephone calls.
----------------------------------------------
At the risk of WoT I'll add that divider line. Something that can fix your problem is also setting up static IPs for your devices at home. I personally do things this way as I have no need for DHCP and it prevents automatic DHCP connection attempts and that's coupled with the entire network being secure.
If for some reason your wireless device does lag, and it begins assigning addresses to any device in the area that wants to connect, it may assign you a different IP address in it's little DHCP sequence. For example, you may have had 192.168.1.2 and now you have 192.168.1.3 which will cause a disconnection. If you set up a static address with your router, you may just R0 for a few seconds. Annoying, but better than disconnecting.
----------------------------
Finally, I suppose, would be to make sure your network is secure. Browse your router's internal settings to configure this. It's really not too difficult to figure it out if you are a little PC savvy, but there are also a number of tutorials online. If your network is insecure and you have asshat leeches for neighbors, your problem might be due to them lagging your connection by downloading and uploading thousands of gigabytes of kiddie porn.
-------------------------------
GL :)