Troubleshooting guide
How to fix the problem
Click Wi-Fi in the menu bar, select a network and enter the password. If not listed, check the connection in System Settings > Wi-Fi.
If the problem persists
Compare another Wi-Fi network and check the internet on your phone on the same network. If you forget the network to re-pair, take care of its password first.
Request a repair