There's a problem in your internet connection, nothing related to your compute hardware or something.
If you are using a router with Wireless/WiFi, be sure to protect your connection to do not let anyone use it. If you already a pass on it/disable it and continues with the lag, recommend you check Firewall and AV configuration.