If you were trespassing or provoked the dog when you were attacked, the owner may not be liable for the costs and damages associated with the attack, unless there are extenuating circumstances.