Update your Mac or PC
Install updates for your Mac. If you have a PC, get updates from Microsoft. If you're using iTunes, make sure you have the latest version.
Plug directly into your computer
Plug your iOS device directly into your computer's USB port (not into an attached keyboard or USB hub). If you still see an error alert, try a different cable.
Restart
Turn off your computer and your device. Then turn them on again.
Here's how to restart your iPhone, iPad, or iPod touch.
Check your computer’s security software
You might need to update, change, or uninstall software that could be interfering with your computer's connection with iTunes.
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.