You will need to put it in [http://www.iclarified.com/entry/index.php?enid=1034|DFU] mode, then connect it to iTunes and restore it.
open