Thanks for the query .
You seem to be having Seborrheic Dermatitis
which is due to collection of the oil from the inflammed oil glands in the scalp
You would need to treat the condition with shampoos.
Two kinds of shampoos would help :
One that contains Flucinolone and one that contains ketoconazole
to treat different aspects of the inflammation .
The shampoos can be used alternate day can be got as a prescription from your Dermatologist
or GP .
Thanks and Take care