How do you get your dog to stop chasing your chickens and running away?

Put the dog on a lead whilst passing chickens and every time your dog tries to go them pull back on the lead and use a Stern "NO"