There is more to this procedure the redownloading iTunes. You will need to Reset and wipe your entire phone
If you’re running iOS 15.2 or above you can do this procedure without Access to a computer:
If you're using an eSIM, contact your carrier before trying these steps and ask for a QR code to set up your eSIM again.
- From your device's Lock Screen, try to enter your passcode five times until the "[Device] Unavailable" screen appears and your device asks you to try again later.
- When you're able to, continue to enter your passcode until the "Security Lockout" screen appears and you get the Erase [Device] option in the bottom corner of the screen.
- Tap Erase [Device], then tap Erase [Device] again to confirm.
- Enter your Apple ID password to sign out of your Apple ID on your device.
- Tap Erase [Device] to permanently delete all of your data and settings.
- When your device restarts, follow the onscreen instructions to set up your device again, restore your data and settings from a backup, and set a new passcode
If you can't follow these steps, you can use a computer to reset your device.