Hey nikkibabbii,
We understand that you're unable to get a verification code to sign into your new iPhone. If you have another trusted device available, you can try receiving a verification code that way. If you're unable to receive any verification codes from either a trusted device or trusted phone number, you may have to start account recovery: How to use account recovery when you can’t reset your Apple ID password - Apple Support
You may consider adding multiple trusted phone numbers so that you can always get a verification code. The steps below, from this article show how: Two-factor authentication for Apple ID - Apple Support
You can manage your trusted phone numbers, trusted devices, and other account information from your Apple ID account page.
To use two-factor authentication, you need at least one trusted phone number on file where you can receive verification codes. Consider verifying an additional trusted phone number other than your own phone number. If your iPhone is your only trusted device and it is missing or damaged, you will be unable to receive verification codes required to access your account.
- Go to appleid.apple.com.
- Sign in with your Apple ID.
- Go to the Security section and click Edit.
If you want to add a phone number, click Add a Trusted Phone Number and enter the phone number. Choose to verify the number with a text message or automated phone call, and click Continue. To remove a trusted phone number, click next to the phone number you want to remove.
- Go to appleid.apple.com.
- Sign in with your Apple ID.
- Select “Didn’t get a verification code?”, then select More Options.
- You'll be redirected to iforgot.apple.com.
- Complete your account recovery request. Learn more about account recovery."
We've also included in that very last section how to update your trusted phone number during account recovery.
Take care.