What you want to do when flies come is to put down some ditamatios earth. It's this white powder that is not hostile to chickens to or you.What it does is when the flies eat the stuff it will expand in their stomachs and kill them. I put it on there food and on the floor. It gets rid of them really fast so you don't need that bug repellent to do the work. Hope this helps