When we had goats, once upon a time, they kept getting their heads stuck in the fence so I had to stick hose one their horns in a big loop and clamp it down. worked okay but goats being goats they figured out a way to get their heads stuck still.
Just one of the many reasons we now have sheep.