Iphone 5 stuck on apple logo?

I tried putting it in recovery mode and restoring twice but keep getting this error: iphone cannot be restored device cannot be found.

Help!

Try using a different cable.
If that doesn't work then hold the home and power button for 8 seconds.
Update iTunes.
If those don't work take it in to be fixed.