Pick up dog feces. Make sure you put it in sealable bags before you put it in the trash can. Keep garbage can lids tightly closed. If you are having a party, make sure the trash can be used for paper goods disposable has a tight-fitting lid, and ask the guests to replace the lid after they dispose of their trash. [3] X Research source
Don’t keep your compost pile too moist. Keep the compost pile as far from your house as possible. Maintain your compost pile properly. Keep it “cooking” so that it is too warm to support fly larvae.
Be careful setting these up. Light traps could never seriously injure anyone, but it’s still quite painful to be zapped by them. Alternatively, try a UV light trap. Flies have compound eyes, and thus find the spectrum of UV light attractive. The UV light attracts the flies, and when they go to investigate the light they get stuck to the glue board built into the light. [4] X Expert Source Kevin CarrilloMMPC, Pest Control Specialist Expert Interview. 5 November 2019.
Quarter gallon freezer bags, tied with string to a gutter, work well. Any cheap vodka will work. You can also try putting small amounts of vodka on your skin, although beware of the pungent smell and your skin drying.
Keep all meat covered tightly when it is not on the grill. Keep the barbecue grill lid closed while the meat is cooking. Protect your grilling tongs and utensils—flies will smell the meat and land on them. (If you see flies have landed on your grilling utensils, take them inside and wash them before you pierce or turn the meat with them. )