How to restore iPhone 10.
How to restore an IPhone ten ay home.
How to restore an IPhone ten ay home.
Restore your iPhone, iPad, or iPod to factory settings
https://support.apple.com/en-us/HT201252
How to erase your iPhone, iPad, or iPod touch
https://support.apple.com/en-us/HT201274
Create a back up first, please see:
How to back up your iPhone, iPad, and iPod touch
How to restore iPhone 10.