Stay private about your location going forward
Stopping today's tracking is one job. Preventing the next attempt is a habit. These steps make location leakage rare and noisy when it happens.
Set a calendar reminder: open location permissions, sharing lists, and account devices. Anything unexpected goes immediately.
Almost no app legitimately needs background location. The exceptions are navigation while driving and explicit family-safety apps you set up yourself.
Google: myactivity.google.com → Location History → off, then delete past data. Apple: Settings → Privacy → Location Services → System Services → Significant Locations → Clear History.
A unique 16-character password and an authenticator app (or hardware key) on your Apple/Google account is the single biggest protection — most 'tracking' is actually account access.