Save it when registering
Registration generates a recovery key. Store your account name and key somewhere only you can access. Never post passwords, recovery keys or screenshots containing them in public chats.
If you forget your password
Enter your account, original recovery key and new password on the password reset page. After a successful reset, sign in with the new password. Automatic reset is unavailable without the original recovery key.