* Swat it: This is the most straightforward method, but it can be difficult to hit a fly, especially if it is moving quickly.
* Trap it: You can create a simple fly trap by placing a jar or bottle upside down on a plate of vinegar, wine, or beer. The fly will be attracted to the liquid and will fly into the jar, but will not be able to escape.
* Use fly paper: Fly paper is coated with a sticky substance that will trap flies. Hang fly paper from the ceiling or in areas where flies are common.
* Plug in a fly zapper: Fly zappers use ultraviolet light to attract flies, and then shock them with an electric current.
* Natural alternatives: There are also a number of natural alternative, like lemongrass, cloves, mint and lavender that are said to deter and repel flies.