You need to access the router.
Do you have the manual that came with the router? if not what router model do you have.?.
Connect computer to router with lan cable.
Access router configuration 192.168.?.?
enter the security tab.
If PW is hidden, select unhide. or you change password now.
put that PW into your computer