According to this article
"How to defend yourself against a dog attack" the best defence is to stand absolutely still. If the dog is trained to attack, then you don't have much of a chance in a fight if you're unarmed. Pepper spray works on some dogs but not on others.