This novel was called "The Glove in the Hat." It was a fantasy epic fantasy novel. The protagonist entered a magical world through a hat and mastered various skills and abilities. He was proficient in refining medicine, charms, treating illnesses, and plowing. I hope you like this fairy's recommendation. Muah ~😗