DFU mode can help you recover your iPhone or iPad using a computer.
If you need to reset your iPhone to factory settings to resolve an issue, you can back it up to iCloud first and then restore ...