How to get the cattle used to the electric fence?

Domestic animals coming into contact with an electric fence for the first time must be taught that touching the fence wire is painful. It would be best to bring each animal separately to the fence and let it experience the electric shock. In this way the animal will be prevented from jumping, starting to run, tearing the fence or hurting itself at the first experience.