How do I recover my Iphone password?

How do I recover my Iphone password?
Reset your Apple ID password with the Apple Support app on a borrowed device

Open the Apple Support app on the borrowed Apple device.
Tap Passwords & Security > Reset Apple ID password > Get Started.
Tap “A different Apple ID.”
Enter your Apple ID and follow the onscreen instructions to reset your password.

Reset your Apple ID password with the Apple Support app on a borrowed device
  1. Open the Apple Support app on the borrowed Apple device.
  2. Tap Passwords & Security > Reset Apple ID password > Get Started.
  3. Tap “A different Apple ID.”
  4. Enter your Apple ID and follow the onscreen instructions to reset your password.