Thanks for writing in.
The condition you are suffering is Seborrheic dermatitis
It is a infective condition.
Treatment can be topical antifungals,steroids, minoxidil
Antifungals and steroids in topical form are very safe and effective.
Also oral ketoconazole
for 2-3 weeks is extremely helpful.
Few scalp treatments may be required
They are available at dermatology clinics.
Also supportive oral tablets containing biotin and multivitamis can be helpful.
Hope this helps.