Treatment for scalp eczema usually requires the selection of appropriate medications under the guidance of a doctor, based on individual circumstances, to help relieve symptoms. It is recommended to seek medical attention promptly for a professional diagnosis and prescription of medication or recommendation of over-the-counter products.

1. **Topical corticosteroid creams:** For mild to moderate inflammation, a doctor may recommend using creams or solutions containing corticosteroids. These medications help reduce redness and itching, but should be used as directed by a doctor and should not be applied independently for extended periods.

2. **Antifungal Shampoos:** If the eczema is related to a fungal infection, using medicated shampoos containing ingredients such as ketoconazole may be helpful. These products can help cleanse the scalp and control fungal growth.
3. **Moisturizing and Repairing Products:** Using a gentle moisturizer or hair care products containing ceramides can help repair the scalp barrier and reduce dryness and dandruff.
4. **Oral medications:** If the symptoms are severe, doctors may sometimes prescribe oral antihistamines to relieve itching, or use other oral medications for a short period to control inflammation, but this must be strictly followed according to the prescription.
In daily hair care, avoid scratching your scalp, choose gentle shampoos, and reduce irritation from dyeing and perming. If symptoms persist or worsen, be sure to consult your doctor again to adjust your treatment plan and obtain a more suitable approach for you.