Bug control can be dependent upon geo region! So adapt to your own special situation
I'm in Colorado (dry, low humidity)...And I regularly get comments from the neighbors, Ferrier, vets about how minimal our pests infestation is
Mosquitos/moths/any CO2 UV attracted pests:
I have the largest size DynaTrap hanging in the loafing shed that the horses / goats share
DynaTrap® 1 Acre XL Mosquito and Insect Trap - Black | Dynatrap.com
It will fill up 100% through one season. Easy to empty and clean.
Flies
We do two things
1. We allow free pastured chickens through the whole property. They attack fresh manure and keep the compost pit clean!
2. We use parasitic flies. These take a couple years to fully break the larva cycle, but do a FANTASIC job!
We use
Spalding Labs (spalding-labs.com)
Topical/spray repellent
We do organic, so don't use any of the chemical repellents.
All previous organic sprays we tried were worthless :-(
Until last year
Spalding has released an organic, independently tested topical spray that works GREAT!
It smells good, and is people safe also
Bye Bye Insect Essential Oil Fly Spray - Fly Sprays - Spalding Labs (spalding-labs.com)
I've also used it for aphid infestation, also worked great.
Fly Traps
I've tried fancy traps. Worked, but not enough for the premium cost.
So I just keep using water bag traps as supplemental around the animal pens.
To give an example as how well the above work....my water traps rarely collect more than 1" of bugs for the ENTIRE season
I also put water bags in the chicken coop (we average 50+ chickens)
Then use the cheap sticky glue tubes: 1 in the equipment barn, 1 in the kitchen in the house
Doing all the above...We actually have fewer pest bugs here in the country with all our animals, and all our neighbors animals than we ever had in the city !!!!
HTH!