Is it the password for the BIOS you are looking for or the password for Windows?
Well presumably, by knowing the password.
Normally, if you are having a problem with the Password login and you are the Administrator, then you just need to reboot into Windows Safe Mode.