If your Wi-Fi password suddenly stops working, it likely got changed. Try resetting your router to factory settings to reset the password. Also make sure you're entering the correct password - note the difference between 0 and O or 1 and l.