Pups do generally learn quite quickly what to avoid - unless they are cattle dogs when they just come back for more
. My cattle dogs have a very strong herding instinct and can't help themselves nipping the horses' heels behind my back. One was double barrelled 30 ft across a yard, another kicked square on her forehead which caused her concussion for days
. Did it stop them? No .....
My little Jack Russell was trodden on accidentally by a horse, luckily it just got his paw but he learned to be very wary after that! Another dog, a Lancashire Heeler, was stamped purposefully into the ground - again luckily for him he went into mud and got way with any serious injury
They've all learned to be wary of the horses except the herding dogs who just learned to more nimble with their avoidance tactics after nipping!