Store your fruits and vegetables in the refrigerator or in sealed containers to prevent fruit flies from getting to them. You can also use mesh or cheesecloth covers to keep flies out of the fruit bowl,…