OUCH! Did you just get zapped by and electric fence charger? It hurts..
Well for a while.. It sent you 5000-9000 volts in a few milliseconds ... It was able to pulse and you could get your hand away. That is why electric fence is safe for animals.. They get shocked and are able to get out and away from the fence.
if you want to play with electric fence you will mostly get shocked. The pain lasts only a short while and you will be fine.