If you never changed the router's login credentials, many use the default username admin and the default password password. Try that combination to see if it works. Otherwise, you can run a web search ...
That's not possible if you don't know the router's password. (The Wi-Fi password and router password are not the same, unless you went out of your way to assign the same password to both.) Resetting ...