Use these steps to reset it and regain access to your account.
If you forgot your iPhone passcode, use your Mac or PC to reset it - Apple Support
If you forgot your Apple ID password - Apple Support (CA)
Apple Support on the App Store
About Sign in with Apple - Apple Support
Forgot Apple ID but need to update App - Apple Community
2024 An Apple ID Account Can Be Created On The Apple ID Web Site
Help a friend or family member as their account recovery contact - Apple Support
If you can't reset your Mac login password - Apple Support
Apple Support on the App Store
How to create a new Apple ID - Apple Support
If you forgot your Apple ID - Apple Support
Help prevent being locked out of your Apple device - Apple Support
Change your Apple ID - Apple Support
What if I don't remember the Apple ID and… - Apple Community