This Apple article has instructions for what to do if you have forgotten your password --> If you forgot your Apple ID password - Apple Support
or go directly to this link --> http://iforgot.apple.com/
If you still need help:
Contact Apple for help with Apple ID account security "This article provides country-specific Apple Support contact information for customers seeking help with their Apple ID password or other security-related issues." --> Contact Apple for help with Apple ID account security - Apple Support
From: How to generate a recovery key - Apple Support
Use a recovery key
- If you forget your Apple ID password, you can try to regain access using your trusted device protected by a passcode. Refer to Get a verification code and sign in with two-factor authentication - Apple Support
- When you generate a recovery key, you can't use account recovery.