Use specific insecticides for flies. These products are usually available in spray form and can be applied directly to the flies. Always follow the manufacturer's instructions and use products carefully in areas where there is food.
Buy fly traps and place them outside your house. Flies will be attracted to the smell of the non-toxic attractant.
3 Elimination of sources of attraction:
Identify and eliminate sources of attraction for flies. Clean up food debris immediately, make sure trash cans are securely closed, and remove any decaying material, such as rotten fruit.
4 Natural repellents:
Some natural repellents can help keep flies away. Use essential oils, such as eucalyptus, citronella or peppermint, diluted in water and sprayed on areas where flies congregate.
Keep windows and doors closed or protected with screens to prevent flies from entering the home. Whenever possible, use fans or air conditioning to keep things cool and keep flies away.
6 Preventive methods:
Maintain good hygiene at home. Clean regularly and avoid leaving food exposed. Also, be sure to seal off any potential fly entry, such as cracks in windows or doors.