40
If your phone is responding to screen input, then open Settings from the Applications menu. Tap Backup & reset > Factory data reset; click Reset phone and then Erase everything to format your phone.