The medication for seborrheic dermatitis on the head includes the following: 1. Topical medication: Clindamycin phosphate gel and mupirocin ointment can be applied, mainly for rashes with more pustules, to play an anti-inflammatory and bactericidal treatment purpose. If there are more scales, you can use vitamin E ointment and zinc oxide borate ointment topically for anti-dandruff treatment, and you can also apply selenium disulfide shampoo to wash your hair. 2. Oral medication: If the rash is accompanied by a certain itchiness, you can take levocetirizine hydrochloride granules and fexofenadine hydrochloride tablets orally for anti-allergic and anti-itch treatment, together with compound glycopyrrolate capsules for anti-allergic and immunomodulatory treatment. You can also combine the application of moistening and antipruritic capsules to play the therapeutic effect of moistening, anti-pruritic, nourishing blood and dispelling wind, and you need to avoid alcohol during the treatment period.