Behavior problems and medical problems can be hard to distinguish and may also be related. A dog that used to be well housetrained may not just be regressing in his or her behavior. A pet that tries to bite during petting may do so because something hurts. And an obsessive licker can have an anxiety problem, a skin problem, or both.