As a router is hardware…
You need to setup the router as secure as possible (settings, disabling options, closing ports, having the latest firmware etc)