[header] How to get rid of flies [title] Set a trap with dish soap. [step] Pour 1 inch (2.54 cm) of liquid dish soap into a jar and add 1 inch (2.54 cm) of water. The flies will be attracted to the soap and drown in the water. 
[substeps] Use fruit flavored dish soap for best results. An apple scented soap or lemon soap may provide better results, for example.