Do not blame the animals if you find one or two invalid your garden because all they see is a wide expanse of bare soil full of good foods. There are many ways to make them go away from your property.
The 100th time you see one, you might be ready to resort to just about anything to protect your garden plants from their snacking. An electric fence can be useful for keeping out raccoons, squirrels, ...