my phone has me locked out need to recover password

how can i fix this
Welcome to iMore.

Here is the guide by Apple if you forgot your passcode. Here is the guide by Apple on how to recover your Apple ID.
Welcome to iMore! In addition to the above, you can also go to http://iforgot.apple.com. From there, enter the email address associated with your Apple ID or select the "Forgot Apple ID?" link just under the dialogue box in the center of the page.

Original thread: https://forums.imore.com/threads/my-phone-has-me-locked-out-need-to-recover-password.377598/