Restart Device Modem then Laptop
There are a number of reasons these cause connection issues
Modem Settings - Max Number of Connections, Connection Alive time, DHCP server settings, Wifi Settings / Channel / Encryption
Other Enabled DHCP devices on your Wifi giving you ip/gateway settings first (usually Printers)
Your OS will typically resolve this but in some cases it just doesn't and times out Or is holding Old IP settings from connection to other networks, Hence why 'Releasing and Renewing' usually works well in this situation
Sony Also has a Flight Mode on some of its laptops which you will need to turn off