Hi there, see this steps in order to reset your iPhone
You will lose all of the data on your iPhone you haven't backed up I am afraid
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.