Settings>Privacy>Location Services>Camera and select while Using/Always with/without Precise Location (how accurate you want it). Geotag only works if you use the Camera app. If you use the camera on other apps like Messenger or Messages, it will not geotag.