Put the phone in DFU mode and restore it again with Itunes. Then the iphone will work normal again.
open