OK so I fixed it. Go to settings and to network and internet. Then go down to the ethernet tab and click change adapter options.
Click on your network connection. Then click properties and untick the Hotspot Shield Routing Driver 6. Click OK and the internet connection resumes as normal. Hope this helps!