After grabbing the flag in Jak II, finding your way back to town can feel disorienting, and getting lost here will really stall your progress. The simplest approach is to explore on foot until a landmark looks familiar, then retrace your steps from there.
Pay attention to the layout as you go so you can recognize the path on the return trip. Stick with it and you will find your way home without too much trouble.