1. Keep plants that repel flies
Flies dislike scents of some herbals plants such as basil and mint. Buy a few pots of these herbs and place it where flies usually gather.
2. Light a candle
Flies dislike the smoke from candles. Light candles and place them on the dining table to ward off flies. If put in beautiful container, it also improves the dining atmosphere.
3. Hang a plastic bag filled with water or CD
If you have serious fly problem in the kitchen, you can hang a plastic full of water or CD at that area. As water or the surface of CD deflect light, it will resemble a spider web which flies intuitively avoid.