You can take a few steps to eliminate fruit flies right away. The use of a fly swatter is one option. Simply swing at the fly and swat it. Another way is to use tapes. Fruit fly tapes are also great at killing them instantly. And the third way is to use a can of fly spray. Simply aim the can at the fly and give it a short blast. This is a more effective method, killing the fly instantly.