Disable the wifi security option in the router and try again, so you can connect without password. If it works now, change the password to a simple one. Sometimes special characters won´t work
Sometimes antivirus applications or firewalls can be the problem
eventually reinstall wifi drivers for your laptop