This pitbull attacks on a child took place in China.
That is a totalitarian country where you have no right to defend yourself.
Chinese government will shoot the dog for biting you, shoot the owner for having a dog that bites, and probably shoot you for being bitten by the dog and going viral.
In America, most of America I should say, you have options.
There are many comments about poking the dog in the eye.
That won’t work with pitbulls. They are fighting dogs, they fight through the pain to the death.
The only thing you can do is kill the dog or choke it unconscious. That takes time.
A knife to the throat is much faster.