Flies are one of the most if not the most irritating creatures on the planet. They seemingly serve no purpose as they fly around and get into things we don't want them in. Gnats are the flies that are most likely to hover around house plants and drains. Depending on where you live, fighting flies can be a constant battle. There are several easy methods that can help to get rid of pesky flies.
Place vinegar in a jar and poke a hole in the lid. Flies and gnats especially love the smell of vinegar and won't be able to get out of the jar. Set the jar near the plants to attract the flies.
Set a cup of juice with a tablespoon of dish soap near the plants. The flies will be attracted to the juice and fall in.
Fill a Ziplock bag halfway full with water and hang it near the plants. The refraction of the light off the water disorients flies and keeps them away.
Place lavender near the plants. Flies hate the smell of lavender and it will keep them away.
Make sure there is no garbage left in dustbins or food products left nearby that will attract them.
Avoid the use of harsh chemicals around houseplants to get rid of flies that may be harmful to kids and pets.