In general, frogs are a gardener's friend because they usually leave the garden alone and dine on slugs and other pests. Occasionally, however, gardeners become overwhelmed by a large number of frogs that become a pest themselves. If your garden is being taken over by an amphibian assault, if you tire of incessant night time croaking or if you find frogs personally offensive for some reason, you can discourage them from visiting your garden.
Put up a fence in front of the path of your garden frogs. The frogs are most likely hopping into your garden from a nearby water source. Put up a screen fence around your garden at least 2 feet high and 6 inches deep to stop frogs from passing.
Cover any ponds or pools in your garden that attract frogs with UV-stabilized netting such as the bird netting. This will help get rid of frogs by preventing them from getting into and out of the water.
Kill the critters the frogs are eating. If your garden frogs are eating insects, consider spraying a pesticide such as cypermethrin on leaf litter and any plants that may be attracting the bugs. If the frogs are eating slugs, bury plastic cups up to their rim in various spots in the garden and fill them with stale beer. The beer will attract the slugs, who will drown in it. This will help you stop frogs by depriving them of a food source.
Spray salt water in areas of your garden unoccupied by plants. Frogs find saltwater quite unpleasant and will seek to avoid an area covered with it. Be careful, however, since saltwater is also quite toxic to plants.
Keep a cat outdoors. Cats love hunting frogs and will both scare them away and reduce the local population.