Looks like seborrheic dermatitis. It is a chronic condition which tends to come and go. You will have to take treatment during flares and even when it goes away maintenance treatment in the form of shampoo and lotions required 2-3 times/ week.
Although Detailed history and clear images required for proper diagnosis
Next Steps
Consult for better management
Health Tips
Dont scratch your scalp, shampoo frequently.