The main thing is If you are using shampoo then use only branded Shampoo Otherwise your hair will be remove so for prevent use only high quality shampoo and see here is tips how to wash.
Don’t wash your hair daily to shampoo & don’t use soap in hair’s because that are mostly for skin
if you have dandruff, then don’t use normal shampoo use only antidandruff shampoo, after using if you are facing same problem, then go to skin & hair specialist doctor for improvement.
You can gently move the hair instead of scrubbing to avoid damage.
wash your hair to hot water because it cause dry scalp & dandruff.