Hello and thanks for your question. I look forward to assisting you today with the best answer possible.
Did you enter the correct wifi password?
It's case sensitive.
But you are unable to use the internet.
Are you able to go to the play store?
As of first step please restart your phone.
Press and hold the power button until it restarts.
Is it restarting now?
Do you see any exclamation mark next to your wifi in your phone?