Turn the power to the electric fence off. Put a piece of tin foil on it, and smear some Peanut Butter on the tinfoil. Turn the fence back on. The deer will lick the tinfoil and won't like it a bit.....