Sometimes your computer will have problems connecting to the internet. The best way to confirm if the computer is getting a good connection is to run a speed test.
Now, not all speed test sites work well and here are a list of sites recommended to test your Windows computer.