If you need to fix a problem or erase your Apple device to sell, you can reset your iPhone or iPad. We'll show you how in this guide.