If it's an Android phone, you start off by turning wi-fi on by swiping the top of the screen downwards and tapping the switch beside Wi-Fi. From then on, it's a matter of finding your wireless service in the list that shows up and entering the security key.
If you're asking about an Apple device, someone else will have to help you.