Hang fly paper in areas where you've noticed the most flies. This is very sticky paper; the fly lands on it and cannot leave. Place fly paper strips six feet up from the floor to catch the most flies, according to Texashelp.tamu.edu.
Use insect light traps in dark basements, closets and other areas away from external windows. (You don't want to attract more bugs from outside.) Don't place these traps anywhere near food, however, to avoid having fly remains fall into food containers or dishes.
Place fly bait around the home in cases of extreme infestation. Place the bait on shelves and other areas out of the reach of children or pets. You can also use insect sprays to kill flies, but avoid food areas such as the kitchen.