Stop the camera saving your location
Open Settings → Privacy & Security → Location Services → Camera and choose Never. Photos you take from then on won't record GPS coordinates. Photos you already took keep theirs.
Remove location from one photo before sharing
- When sharing: in Photos, tap Share, tap Options at the top of the share sheet, and turn off Location.
- On the photo itself: open the photo, swipe up or tap the info button, tap Adjust next to the location, and choose No Location.
Why that isn't the whole story
Removing location leaves the rest of the metadata: the exact time it was taken, the iPhone model and the software that edited it. It also depends on remembering every time, for every app. And some ways of sending a photo pass the original file along untouched, like emailing it as an attachment, sending it as a file in a chat app, or sharing a cloud link.
The photo itself can also give away a location: a street sign, a view from a window, a car's plate, a school logo on a sweater.
Check a photo before you send it
Drop the photo into the scanner at the top of this page. It shows whether the GPS location is still there, what else the file carries, and what can be read from the picture itself. Cleaning rebuilds the photo from its pixels only, so all metadata is gone, and you can blur faces and black out plates and text. HEIC photos come back as JPEG, which any app can open.