First make sure that you have the correct WiFi password.
If you have a Windows computer that is currently connected to the Internet through the wireless router the password ***** ***** that computer.Please follow these steps:
Then Restart your Apple TV by going to Settings > General > Restart. Next, unplug your router and your cable or DSL modem from power. Then plug them back in.