Open Settings and scroll down to Privacy, then click on Location Services. Toggle the slider next to Location Services to turn them on or off.