lol there actually were people in the middle ages who knew a fair amount about medicine. Less than some expert doctor today? sure. More than you? sure. dont be racist against the middle ages.
there are medical procedures that seem barbaric to me but they're still in use after a long time like leaching