To toggle the GPS on and off, access the notifications shade of your phone, locate the GPS icon, switch it off, wait for a few seconds, and then switch it back on. This will allow the GPS to check for your location again and fix any problems you may be experiencing.