This invention provides a method of preventing and/or treating thymus degeneration comprising administering an effective amount of dihydromyricetin to a subject in need thereof, in which the degeneration is induced by dexamethasone. In one embodiment, the thymus degeneration is induced during the course of treatment of inflammation by dexamethasone.