Say it out loud. Experienced hikers know that everyone becomes disoriented once in a while. It's how they handle disorientation that shows that they are experienced. Don't start hiking until you have a plan. If that plan is unsuccessful, stop again.
Many people do find their way.
However, many people don't. A natural tendency is to try to head for the city that they can see in a distance. This is usually the most dangerous option. Many searches have turned into rescues or body recoveries because of this natural tendency. There are only a few safe routes off many mountains, especially ours, and the few safe routes are usually blocked by dense brush which is un-passable unless you are on the trail.