While your device is connected, force restart it: Press and hold both the Sleep/Wake and Home button for at least 10 seconds, and don't release when you see the Apple logo. Keep holding until you see the recovery mode screen. When you see the option to Restore or Update, choose Restore.