I used to have a book about a fox and an ox. It was a rhyming book, and the ox started things off with his tail caught in a rail. The fox, who was either trying to be helpful or else just for the sheer orneriness of it, keeps suggesting ways in which the ox can get himself out of his predicament. Eventually the ox, besides having his tail caught in a rail, has a tack in his back and various other rhyming things wrong with him.
I remember reading this book over and over when I was a kid - I can even see the picture of the ox lying on that tack - but I don’t remember the title. Ring a bell for anyone?