A gentle cleansing shampoo can be used to treat mild cases of dandruff. If that doesn't work, a medicated shampoo may help.