Internet connection turning off

I just bought a brand new cpu but the windows update and installl have never worked yet because when I do it the internet gets turned off it stops at 10%. Why is this? This is a brand new computer I bought less than a month ago. So how can I update and install this? This is not the ordinary windows update this update and install the one that takes much longer to finish.