your problem in your in iTunes

try install latest version for iTunes
and make sure you uninstall the old version and restart your computer
and install iTunes again

make sure there is no firewall blocked iTunes server connection
and also make sure to change the USB port which is connected with cable

finally, If you faced the problem again
put here the number of the error from iTunes message
or make screenshots of the error