If your phone is showing a location that you've previously been to it sounds like you need to check that a) have a stable online connection (WiFi or cellular) and b) the Location option enabled (look in the drop-down Status menubar or buried in the Settings menu). Location relies primarily on GPS (most accurate and based on satellite signals) , along with cellular signals (mostly accurate -- triangulation of nearby cellular service towers that depends on there actually being three towers in close enough proximity), and lastly IP addresses only as confirmation (note that IP addresses are primarily for device identification, not locale).
If your phone is showing a location that you've never been to and doesn't make sense, that's an indicator that there's a problem with your phone's Location.
First thing to always try is just restart your phone and see if the problem is still occurring. A restart is a good way to eliminate random glitches so there's an indicator there is a real problem to look into.
If the problem persists, try enabling and disabling Airport Mode, that turns off all online connectivity (the WiFi, cellular, and Bluetooth radios in your phone all get turned off) then restores it. But mostly you need to focus on the Location feature in your phone. You might also want to try installing this 'GPS Status & Toolbox' app:
https://forums.androidcentral.com/e?...token=ZvVUGdy4
It's a very handy compass app if you need a compass but it's primarily a GPS utility and includes some important features in its Settings menu. If Location in your phone continues to be 'stuck' somewhere else, see if using this app's 'Compass calibration', 'Calibrate pitch and roll', and 'Manage A-GPS state' feature will correct and reset your phone's proper location.
Also, use this app to just check that your phone is getting an adequate GPS signal, it's sourced from satellites so just being outside should be pretty good, as will being indoors with an outward facing window in close enough proximity. If you're in a basement or below ground level floor of a building, a GPS signal will be relatively weak or nonexistent. In that case the Location problem could just be a temporary one that should correct itself once your phone gets more exposure.