Hi, I am an independent advisor, and welcome to Microsoft Q&A.
Let me help you with the issue.
Please hover your mouse over the Network or Wireless icon at the lower right-hand corner, then right-click it and click Troubleshoot Network. Let the troubleshooter finish its task, then this should either resolve the problem or display an error message.
If that doesn't work, we need to remove the WIFI driver from the Device Manager and restart the pc to reinstall it.
Here are the steps to completely remove a Device from your computer.
Step 1. Use shortcut keys Windows key+ + X
Step 2. Select Device Manager.
Step 3. Expand the entry for Network Adapters, Right-click the problematic device, which is either an Intel Wireless or Realtek WIFI adapter, and select Uninstall device.
Step 4. You need to select the option 'Delete the driver software for this device' and then click the 'Uninstall' button.
Step 5. Reboot the computer.
After the reboot, please see if the problem is fixed.
If that still does not work, please visit the support website of your laptop or desktop and then download and install the latest Wireless driver, and then restart the PC.