Resetting iphone
How to reset iPhone X to factory settings?
How to reset iPhone X to factory settings?
Check this link...
Restore your iPhone, iPad, or iPod to factory settings - Apple Support
Check this link...
Restore your iPhone, iPad, or iPod to factory settings - Apple Support
Resetting iphone