From history it seems that you might be having dandruff
infection on your scalp
This is a chronic condition and many a time does not respond with anti dandruff shampoo.Consult dermatologist
and go for medical treatment for dandruff.
Do no keep your hairs wet for more time.
Go for regular hair wash.
Ok and take care.