Dogs are dogs. You pull on the back legs of the one on top and stand ready to fend it off if it turns on you. But they rarely do.
Tried this. Doesn't work. Pepper spray on the snout does work. Takes about 20 seconds to work.