“An electric fence shocks the deer when touched, but this can be a pricey endeavor,” Pearson says. Sometimes, you can use sights, sounds, and unexpected movements to keep deer out of your garden.