To get rid of dandruff, you may have to use ketoconazole shampoo five to six times in a month. "For hair growth, you may have to continue using it for two to four months," says the expert.