Update your Mac or PC
Plug directly into your computer
Plug your iOS device directly into your computer's USB port (not into an attached keyboard or USB hub).
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 could be interfering with your computer's connection with iTunes.
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.