To eliminate fruit fly infestations, you need to tackle them on multiple fronts. First, set out traps in your kitchen and bathrooms to get rid of the adults. Then, clean the areas where they may have laid eggs. Finally, maintain a clean environment so you do not attract new ones. By combining methods, you get rid of existing fruit flies and prevent new infestations.