1. Press and quickly release the volume up button.
Press and quickly release the volume down button.
3. Press and hold the side button (also known as the power button) until the Apple logo appears on the screen.
Note: Make sure to press the buttons quickly and in the correct order. If you hold down any button for too long, you may activate a different feature on your iPhone X.
When the Apple logo appears on the screen, release the side button and wait for your iPhone X to restart. Your iPhone X should now be reset to its factory settings.