Flies may seem inevitable when they are buzzing around your head or crawling on your food. However, there is usually a pretty obvious source of attraction present whenever they are noticed. One thing that flies cannot resist is an open garbage container. Many people have simple trash cans in their kitchens that have no lid. The leftovers and scraps that you place in these trash cans are like beacons for flies. Try putting a lid on your garbage.
Another thing that draws flies to your property is standing water. If your sprinklers or irrigation system leaves puddles outside your house, that will surely draw flies. You can reduce this problem by making the proper adjustment so that water is never left standing anywhere near your house. The same problem results when moisture builds up inside the home as well.