Sometimes you have the occasional house fly that bothers you. Other times, although it is a more serious problem. There are house flies everywhere and it is more of an infestation problem that you have to deal with. Learn how to deal with this problem so that you can get rid of house flies.
The first step is to clean and get rid of the breeding ground for house flies. If you have an infestation, there is something in the house where they are breeding. Get rid of the garbage. Clean pet litter like the cat litter box. Throw out old food in the pantry. Seal all food containers. Clear all the counters. The cleaner everything is, the less likely it is that flies can continue to breed.
To get rid of these flies manually, put some rubbing alcohol and water in a spray bottle and spray this onto the flies you see around the house. This works, but you probably prefer to have something that works automatically for you without having to get rid of them yourself.
You need to cheat some. Take hot water and sugar and mix them together. Put this in small jars and cover with plastic wrap. Poke holes in the plastic wrap for the flies to get in. This should attract quite a few house flies. Do this day after day until the flies are gone. The more traps you use, the more you will catch. Make sure to empty the trap every day and refill them.
Another trick is to put something like rotten fruit in the oven. The flies will be attracted and they will all be in the oven. Close the oven and turn it on and it will kill the flies. Clean the oven afterwards.