Training lots of training I agree, i would suggest to tide up dogs while your flock is roaming with you by their side and very time you see one of them jump towards them you reprimand them. I have two dogs with no experience of having hens around and now my flock come up to the dog food and eat...