Assuming the router is yours, at worst you can reset to to factory defaults. Its manual, almost certainly available online, will show the procedure. Remember to re-enable security on it, as many routers are entirely open by default, and their default passwords are publicly available.
If the router is not yours, there is nothing we can do here to help you. Ask the owner for the password and permission to use his wireless signal.