^^ and read the router's manual for the procedure (differs between brands).
If you had changed your router's administrative password *which you should have as soon as it was set up*, and if you have forgotten that.... then do the reset procedure in your router manual and set it all up from scratch again.