See if anything here helps. If necessary, you can use account recovery as explained in the link at bottom of the article.
Verification code - how to get one and sign in with two-factor authentication. *
If you forgot the Apple ID (iCloud) password, enter the Apple (iCloud) ID, and click Forgot Password. See if you can get a Rescue or Notification email option if necessary. Link to contact Apple Support at the end of the 2nd article.
Apple ID - Manage
Apple ID – Forgot Password *
If you have 2 Factor Authentication enabled, if you can't recover the password using the steps above, you will need to use Account Recovery. The Recovery Process is an automated process and the length of time it takes can vary a lot. Apple ID Support can only answer your questions. They can't intervene in or speed up the process. The article below has some suggestions to shorten the time the process takes.
Apple ID - Recover your Apple ID with two-factor authentication account recovery. *
The only way to reset it instantly is to remember the password and sign into your Apple ID.
If you can get a code and sign in, you need to change/add the number on your Apple ID. Look in the Security section when signed in online. You may have to add the new number before you can remove the old number. After the change, allow up to 24 hours for the change to sync. Before trying to make the change, sign out of Messages/FaceTime on all devices/computers.
Apple ID - Manage