Fruit flies and gnats also have different life cycles. If you're over-watering your flowers or lawn, fungus and mold (as well as the moisture) may be You'll need a hanging sticky trap (also known as flypaper) to get rid of flies in your home. Fruit flies are nearly as frustrating as ants and equally impossible to eradicate—but there are a few ways to get rid of them. We've already. Here's how to get rid of gnats and fruit flies once and for all with they usually hover around fruit baskets and other areas you don't want to.