It depends on the circumstances of your case. If the dog was not penned up in an area where there was a prominently placed sign warning you of the risk of being bitten, and you were invited to the owner’s home to do the work, you likely can file a premises liability lawsuit. If the dog was penned and there was a warning sign in place, or the dog was in a location separate from where you had permission to work and you entered that area, then you likely are not eligible to file a claim.