Hi There, i got apple i.d but i forgot my password.How can i get it right.Please advise

i give my old i phone to my brother, now he is updating some of the app to get it up and running i need to put my apple i.d password which i forgot
Hello and welcome to iMore. From Apple Support:

  1. Go to your Apple ID account page and click "Forgot Apple ID or password." If asked to confirm your phone number, use steps for two-factor authentication instead.
  2. Enter your Apple ID. Did you forget your Apple ID?
  3. Select the option to reset your password, then choose Continue.
  4. Choose how to reset your password:
  5. To answer your security questions, select "Answer security questions" and follow the rest of the steps.
  6. To get email instead, select "Get an email." To reset your password, use the email that we send to your primary or rescue email address. Didn't get the email?
  7. If asked for a Recovery Key, use the steps for two-factor authentication or two-step verification instead.

When you get a chance, think about registering so that we can follow up easily with you. Click this link to learn more about registering with iMore.

Once you've signed up with iMore take a minute to introduce yourself here
Once you get it all sussed out, you need to remove the device from your Apple account. You can also just go to your local Apple store and have them help you with the transition of ownership. Remember to take your purchase receipt and photo ID with you.

Original thread: https://forums.imore.com/threads/hi-there-i-got-apple-i-d-but-i-forgot-my-password-how-can-i-get-it-right-please-advise.403317/