Internet problems with new laptops or devices are sometimes caused by the router, so I'd suggest restarting your WiFi router for 30 seconds and turning it back on. Once it's turned on, forget and reconnect your WiFi network.
Routers - Welcome to MERCUSYS