to lose one's way; to get lost (unable to find the route to a destination).
観光地で道に迷ってしまい、スマホで地図を確認した。
I got lost in the tourist area and checked the map on my phone.
夜道で道に迷うと不安になるから、早めに宿に戻ろう。
Getting lost on a road at night makes you anxious, so let's return to the inn early.
カーナビが故障して、高速で道に迷った。
The car navigation broke down and I got lost on the highway.
初めての街で道に迷っても、近くの人に聞けば大体大丈夫だ。
Even if you get lost in an unfamiliar town, asking someone nearby will usually be fine.