Nokia Lumia 510 - I have forgotten my Microsoft account password

Go to Reset your password page and follow the instructions.