Factory reset steps:

The location of Factory Reset in your settings will differ slightly depending on the model and operating system of your device..

Settings > General Management > Reset >...