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.
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.
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.