If your Wi-Fi stopped working on your laptop, first check your operating system's network drivers to make sure they are installed correctly. If they are corrupted or failing, simply reinstalling or updating them should fix the issue. You should also try restarting your router, and make sure you don't have any active VPNs or third-party background software interfering with your network adapter.
If you've tried all of that and it still won't connect, there is a small chance someone might be sending a temporary DDoS attack to your network IP. But don't panic: to verify this easily, check if the Wi-Fi works properly on other devices in your house (like your phone or another console). If other devices can connect to the internet without any issues, then your Wi-Fi and router are completely fine, and the problem is strictly related to your operating system or software configuration.
