Check if you entered the correct password and make sure the Wi-Fi settings does not include MAC filter. If it has MAC filter, you may have to ask the owner to include you to whitelist.