If you’d like to see what data your phone has been collecting about your movements here’s how:
For iPhone:
You can see what Apple refers to as your ‘Significant Locations’ by going to:
Settings > Privacy > Location Services >
Scroll down and select System Services > Significant Locations.
You will need to prove it’s you before being given this info e.g. by fingerprint scan, Face ID or typing in your passcode.
For Android:
You can see what is referred to as ‘Your Timeline’ by:
Opening the Google Maps app.
Clicking on the menu (3 horizontal bars, top left)
Selecting ‘Your Timeline’.
At this point you may get an on-screen permissions message about turning tracking on or off.