The owner of a dog is automatically at fault for any injury caused by the dog unless the dog was “provoked” - meaning the dog was defending itself, its family, or its property.
Don’t trespass on other peoples’ property or hurt or tease dogs. This will provoke an attack and you will be at least partially to blame for the attack.
A young woman whose nose was bitten off by a pit bull well known to her with no provocation, shortly before her wedding. We got her a very large and fair settlement, and her skillful plastic surgeon reattached her nose and revised the scar so it was almost invisible. The amount was confidential because it was so large.