Check your settings to verify you are not in Airplane Mode. If it is off, turn it on for a minute, then turn it off.
Also, in your settings, you can reset the Network adapters. Here are some things to try:
Step 1. Check your network connection status
Select the Network, Sound, or Battery icons on the right side of the taskbar.
Make sure that Wi-Fi is turned on.
Check if your network name shows Connected below it. If it displays a status other than Connected, select a Wi-Fi network you recognize from the list of available networks. Then tap the network and try to connect.
Step 2. Check Airplane Mode
Go to Settings > Network & Internet > Airplane mode.
Ensure Airplane mode is turned off.
Step 3. Forget and reconnect to the Wi-Fi Network
In the Settings app on your Windows device
select Network & internet > Wi-Fi, then select Manage known networks.
Select your Wi-Fi network and click Forget.
Reconnect to the network by selecting it and entering the password.
If those don't work, the issue may be a hardware problem with the laptop's Wi-Fi adapter.
Hopefully, one of these will fix it.