My male is extremely reactive when he sees any other dog and there are two tools that have made it possible to have him focus on me instead.
1. Teach the "watch me" command to get him to look at you instead of whatever's happening around him. Start by holding a treat in your hand, show him that it's there, and then close your fist with the treat inside. Once he gives you eye contact, treat. Keep going that until he gives you eye contact when the treat is behind your back, and start saying "watch" or whatever word you want as a cue.
2. I use a spray bottle filled with water on our walks. Sometimes he may try really hard to pay attention to me but he's just too far in the reactive "zone" to pay attention, so a quick spray snaps him out of it and allows him to focus back on me.
Those are what have really worked for me along with counter-conditioning and desensitizing training while on our daily walks. Hope that helps.