Medieval peasants worked out that enough onions and melted cheese can fix most problems, and they were right.
Parisian night owls have eaten onion soup as a hangover cure since at least the 18th century.