Can you establish whether your laptop is connected to your router? It's possible for you to be connected to the router, but not from the router to the internet. If you're connecting via wifi, look in your system tray (bottom right) and there should be a series of bars telling you the strength of your wifi connection. If you click on that icon, it will take you through to the network and sharing centre. What does that show you?
Hands-on: Samsung Galaxy S8 review