To exterminate indoor fruit flies, try using soap, oil, or garlic spray. You can also soak a cotton ball in vinegar and place it near the fruit bowl.