Welcome to Apple Communities
If you have Snow Leopard or early, boot from the DVD that came with your Mac pressing C key and go to Utilities > Password Reset
If you have Lion, boot pressing Command and R keys, go to Utilities > Terminal and write:
resetpassword