Dandruff isn't contagious and it is rarely serious. But it can be embarrassing. A gentle cleansing shampoo can be used to treat mild cases of dandruff. More stubborn cases of dandruff often respond to medicated shampoos.