Dandruff is a fungal infection. If any one in the family or in close contacts has dandruff then you can get infected byusing common items like comb, soap, towel, pillow, bedsheet. So maintain said items for you separately , and wash them in moderate warm water and dry them in direct sunlight. Having dandruff for long can cause itching at scalp and hair fall.
Next Steps
You can use/ apply curd or onion juice on skull and do not wash for 2 hours. Thereafter wash your head with normal water and soap. If you want to use shampoo, do it after 24 to 48 hours.
Health Tips
Homoeopathy can hp in this regard for whichypu can consult through this App.