By the sound of it you have internet issues.
A couple of possible easy fixes are to disconnect power from, wait 10 seconds and then replug your router. If you use wifi either reset it in windows device manager or unplug and replug your wifi dongle and keep a free line of sight path from PC to router if possible.