Short of building a fence around your garden, there are only a few proven methods to save your plants and flowers from roaming critters, according to Larry Maas of Maas Floral & Greenhouse in Sturgeon Bay. Maas says a fence is a good option to deter smaller animals. He notes that products on the market like liquid fence will work, but need to be reapplied after any rainfall. One trick to avoid deer-damage is to place human hair around a garden to protect plants.
Other ways to protect gardens is to have potted plants or raised beds and to keep any compost piles in contained bins since the smell can attract creatures. You can find other tips on protecting your garden with the link below.
https://www.greenmatters.com/p/protect-vegetable-garden-animals