Get this error message when download and install updates on iPhone

Hi,
I get this following error message when I download and install updates on my iPhone.
The error says “The iPhone “iPhone” could not be restored. An unknown error occurred (3004).
How can I upgrade my iPhone without having any issue?
I extremely need your assistance.
Please provide a solution. Thanks.
The iPhone ‘iPhone’ could not be restored. An unknown error occurred (3004).
