A thumb in the eye works or if it’s a male find those balls and pull as hard as you can.
This is from an attack dog trained fellow;
The final lunge made by a charging attack dog is a momentary blind, airbourne and open jawed.
When a dog attacks you, standing firm one foot forward the other back. Raise your forward arm waist high and horizonal; offer it to the dog as a target. You are now a matador. Your other hand/arm is your sword. Keep your fingers straight and pointed.
Battle: As the lunging dog goes for you target arm >>> PLUNDGE YOUR SWORD HAD DOWN FIDO’s THROAT and KILL THE DOG by suffication/strangulation.
Note: You will survive despite inevitable injuries.