Router causing Internet connection problem

I have a problem with my Internet connection. The connection drops certain time and reconnects on restarting the router after turning the power off. Try restarting the modem have no effect on the issue. Do I have to replace the router? How can I resolve the issue?
