To stop a dog from jumping the fence, find out why they jump, make the fence harder to get over, and train them to stay away from the edge. The reason and the barrier need fixing together, because either one alone rarely holds. Fence jumping is not rebellion.