If it's the BIOS password, the procedure varies with make and model so the answer without make and model is ask the maker.

If it's the Windows password I've used NTPASSWD (free and easy for me) for years.
If folk find NTPASSWD too hard then I suggest http://www.lostpassword.com
Bob