I have a gadget that zaps them. It's in the shape of a tennis racket and works great. Like a hand held bug zapper.

I also have my little bug killer, Shortie. She may have short legs but she sure can catch a fly in mid air. She eats them. Eeewww.