You can discourage snails from entering your garden by using a barrier of crushed eggshells or copper wire around plants.