Add a trusted number or two, or three.
To see how to get a verification code and sign in with two-factor authentication' click here --> Get a verification code and sign in with two-factor authentication - Apple Support
If you have a trusted device running iOS 9 and later, OS X El Capitan and later, iPadOS 13 and later, or watchOS 6 and later, the verification code is displayed automatically on your trusted devices (do you have any other apple hardware signed into your account?)
- Use a Trusted Device: Mac, iPhone, iPad, Watch. Code is either generated automatically or manually using Settings on the Trusted Device.
- Text or phone call to a trusted telephone number (any telephone; even landlines).
- Get a code from an Account Recovery Contact --> Set up an account recovery contact - Apple Support