You can either do a Factory Reset or a hard reset.
To hard reset it, Hold down the volume button and the power button.
If you are going to factory reset it, I would recomend backing up all of your data or saving everything to icloud then log out.
9.4m questions
12.2m answers