Article in English: Clean up manure, old bedding and spilled feed. If needed, you can spray your manure pile with insecticide to keep larvae from developing. Build proper drainage systems and eliminate buckets of standing water. Cover your pool or pond at the peak of horse fly season. Horse flies can find a suitably moist and cool breeding ground in tall grasses and weeds. Insects sometimes also retreat to shady vegetated areas during hot parts of the day. To avoid this, keep your grasses trimmed and weed on a regular basis, especially along ditches. A barn, stable or doghouse will give your animals a place to retreat when horse flies are bothering them outdoors. Make sure that windows and doors are screened to prevent horse flies from entering.  The fly population should be minimal at that time, which will prevent horse flies from flocking toward the animals' wounds.

Summary in Indonesian:
Jaga agar lingkungan hewan bersih. Keringkan genangan air di dekat hewan ternak. Pangkas gulma dan rumput yang tinggi. Sediakan area yang tertutup dan teduh untuk hewan peliharaan maupun hewan ternak. Kenakan pelindung telinga, penutup wajah, serta stiker atau selotip antiserangga ke hewan. Lakukan ritual tahunan seperti kastrasi pada musim dingin.