First, you need to establish that the lost dog isn’t aggressive. Talk to the dog in a gentle voice, watch your body language, and see if you can establish trust before going near it. If the dog seems calm, approach them slowly to look for identification. If you determine this isn’t a safe option, contact animal control or the police.