Erect 8- to 11-foot fences around your yard to prevent deer from jumping over them. While no plant is completely safe from a deer, those with thorns, hairy leaves or a pungent odor, like herbs, are less desirable than pansies or fruit-bearing plants.