MAKE SURE YOU HAVE A COMPUTER AND ITUNES
Plug in your device and connect it to iTunes
Click on your device summary
Hold shift then click the "Restore iPhone" option
Select Your .IPSW File