If your list of available Wi-Fi networks includes both a 2.4 GHz network and a 5 GHz network, try connecting to the other network. These will appear as separate networks in the list of available Wi-Fi networks. Many consumer Wi-Fi routers broadcast at two different network frequency bands: 2.4 GHz and 5 GHz. Try connecting to a network on a different frequency band. If it says Connected underneath the network name, select Disconnect, wait a moment, and then select Connect again.
If it does, select the Wi-Fi network, and they try to connect to it. Select Manage Wi-Fi connections ( >) on the Wi-Fi quick setting, see if a Wi-Fi network you recognize and trust appears in the list of networks. Also, make sure Airplane mode is turned off. Select the 'No internet connection' icon on the right side of the taskbar, and make sure Wi-Fi is turned on. Try these things first to help you fix or narrow down the connection problem.