Experts believe seborrheic dermatitis may relate to an overgrowth of Malassezia yeast on the scalp. Shampoos with antifungal agents like ketoconazole, selenium sulfide, and zinc pyrithione can help.