If you want to get rid of flies in your garden to create a more peaceful environment, you have several options. Of course, you will want to use the method that works best for you without harming the plants in your garden.
One option is an insect trap. This is simply a contraption that holds an ingredient that attracts the flies and then traps them. You can place these on hooks around the garden or anywhere that the flies can get to.
Natural Insect Repellent
Another option for fly pest control that is not harmful in any way is to use regular sandwich or freezer baggies. Simply fill the baggie three quarters of the way with regular tap water and hang from fishing line.
You can use bug spray around the garden to deter flies and prevent other bug infestations. Read the can carefully to check for toxic ingredients.
Electric Bug Zapper
Another method that has been around for a long time is the electric bug zapper. This will require an electric outlet, which sometimes is not available in the garden.
With any of these methods, you should be able to manage flies while enjoying your garden.