Restore an iPhone, iPad, or iPod touch that needs a newer version of iOS or iPadOS
If you're restoring your iPhone, iPad, or iPod touch, you might need a newer version of iOS or iPadOS. This applies if you restore from an iCloud backup or a computer.
Restore from an iCloud backup
Your iCloud backup might need a newer version of iOS or iPadOS. If so, update your device before you restore. If you install the update, your device updates automatically, then restores your backup.
Restore from a computer
Your backup might need a newer version of iOS or iPadOS. If so, you'll see an error that you can't restore it.
Set up, update, and erase your device
From the Transfer Your Apps & Data screen on your device, tap Don't Transfer Apps & Data. If you tapped Restore from iCloud Backup, tap Back to return to the Set Up screen.

Follow the remaining steps. You can skip the steps for Apple Account, Touch ID or Face ID, and passcode.
After the setup is complete, update your device to the latest version of iOS or iPadOS.
Let the update finish, and wait for your device to restart.
Go to Settings.
Tap General.
Tap Transfer or Reset [device].
Tap Erase All Content and Settings.
After you erase your device, your device restarts, and you'll see the Hello screen in the Setup Assistant.
You're now able to set up your device again and restore your data from a backup.