what i did to break my animals from messing with the chickens was to put them in a cage..wrap chicken wire around it as a sort of shield..then i went back inside by a window and waited. as soon as they would approach the cage, i would run outside, banging on pots and pans and yelling no at them until they realized that i was going to do that every time they even thought about going near them. im sure my neighbors thought i was nuts but it worked great!
