Hair products are, in fact, not good for dandruff or any hair disease or infection. Only anti-dandruff medicated variety shampoos can help, but other products can increase these problems. Also, please stay away from styling gels or foams as they only worsen the dandruff status. Needless to say, dying your hair in order to keep flaky scalp at bay is also useless.