The easiest way to prevent wild animals from eating your garden is to put an expensive fence around the exterior of the garden. However this is not an option for everyone. There are a variety of 'liquid fence' sprays that repel dear and rabbits (the two most likely culprits). However, one of the easiest, and most attractive ways to repel wild animals is by planting marigolds around the perimeter of your garden. The repulsive smell of these flowers acts as a natural fence.