In this neck of the woods, most farm fences are electrified (a electrified wire greatly decreases the propensity of animals to lean on the fence, thus increasing its lifetime).

Never pee on an electric fence. Never even pee on a fence that might be electric.

Fortunately it's unusual to damage oneself in this way.