Unfortunately, the only practical remedy requires resetting your router to its factory defaults (which sets the password to a specific name picked by the manufacturer). Details vary depending on the router model but typically involve pushing and holding down a reset button on the unit. Consult the manufacturer's documentation for specifics.
→ More - How to Connect to Broadband Routers as an Administrator
→ See also - Default Passwords for Linksys Routers