Dandruff can be due to some fungal infection. So you should use antidandruff shampoo which has antifungal constituent. Apart from this, apply onion juice ½ hr. prior to shampoo. When ever you wash your hair always wash the pillow cover, comb and towel, soak them in some antiseptic lotion, dry them under the sun and then use them again.