Turn off Geolocation on your phone
Your phone can pinpoint your location for GPS, local search, or the weather. Which of course means it tracks you everywhere you go.
Phones even have Google features called Google's Location History, which shows you where you were at any point on any day. This information is available online and free for the hacking.
Google's location services is broken into two areas Location Reporting, and Location History.
To disable location reporting or history in Android:
Open the App Drawer and go to Settings.
Scroll down and tap Location.
Scroll down and tap Google Location Settings.
Tap Location Reporting and Location History.
Switch the slider to off for each setting.
Delete your phone's location cache. Tap "Delete Location History" at the bottom of the screen where it says Location History
Repeat this process for each Google Account you have on your Android device.
Apple iOS (iPhone, iPad etc.)
To disable location services in iOS:
Open the Settings App.
Scroll down to Privacy, and select Location Services.
Disable all Location Services, scroll down to disable location services for all apps, including Google and Google Maps.
Select System Services to deny location data from specific items such as location based ads.
Turn off Frequent Locations.
Keep in mind that these are all software settings. They can, in theory, be turned on without your knowledge by your phone company, ISP provider or government agencies. They can also be turned back on again via software updates. So even though you've turned all this off there is no guarantee that it won't get turned on again without your knowledge.
Also the data already logged on your phone is extremely difficult to delete without rooting the device. Which will allow you to gain access to information that the phone in it's normal state won't let you get to.