Update iTunes
Get the latest version of iTunes for your computer, which might require OS X Mavericks 10.9.5 or later or Windows 7 or later.

Update your computer
Install updates for your Mac. If you have a PC, get updates from Microsoft.

Plug directly into your computer
Plug your iOS device directly into your computer's USB port (not into an attached keyboard or USB hub).

Restart
Turn off your computer and your device. Then turn them on again.

Check your computer’s security software
You might need to update, change, or uninstall software that’s causing an issue.

Try again
Update or restore your device again.

Get more help
If you tried these steps and saw the error again, follow the steps for your error code.