You need to be in a place with an unlocked wifi connection, unless you know the password for that wifi network. You will need to swipe down from the top. This will open your notification shade. Find the wifi button at the top. Long press and it will bring up available wifi networks. If you don't have the password to a wifi network, then you won't be able to connect to it. If a network doesn't have a lock next to it, then you should be able to connect to it by pressing it.