Update your Mac or PC
Plug your device 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.
Check your computer’s security software
You may need to update, change or uninstall software that could be interfering with your computer's connection with iTunes.
Update or restore your device again.
Get more help
If you've tried these steps and receive the error again, follow the steps for your error code.