Morning Ruben5111,
You can resolve many Wi-Fi issues by checking your network connection settings.
Apple TV (2nd and 3rd generation): Troubleshooting Wi-Fi networks and connections
http://support.apple.com/kb/TS4546
When using a public or commercial network that requires a login or subscription, Apple TV may not be able to connect to the Internet.
Hope this helps,
Mario