1) You can usually do a power cycle and press a resetto restore factory settings. Check your manual.
Then just remember your password next time!
2) You can’t recover your forgotten password. You can only reset the router to its factory default setting by pressing the reset on the back. Instructions for resetting the router & the factory user name / password arein the manual.