It sounds like you (or somebody) changed the password for the user admin. You can reset to factory defaults by depressing the small button in a hole on the back of the router, you will then need to reset all values.
It depends on your specific model but the default is usually user: admin PW: either admin or <none>.