Confirm what kind of Network you are trying to connect Wi-Fi (Private or General)
Check for the signal strength (Should be within 50Ft from the router
Check for the password entered correctly – Open web browser and try to browse internet
Check for the exact error message (If problem with IP address , suggest the customer to contact the service provider)