You may want to confirm this is not a router issue. Try using another router, if you can't try plugging the modem with your computer. If you can play like that for about 2-3 hours you may want to look into a new routers.

Routers are like power bars, they have a life cycle and need replacing about every 2 years. Old ones used to last about 5 years.

Hope this helps.