Security set up (Apple uses two-factor authentication)

From your device go to Settings ❯ Apple ID ❯ Password and Security. When you sign in on a new device or web browser, a verification code will be sent to your Apple devices or one of your TRUSTED PHONE NUMBERS. Tap ‘Add’ to add a trusted person’s phone number as well as your own so that they can verify you if you don’t have access to your phone or other Apple device.