Antiseborrheics are used to treat seborrheic dermatitis. Some can also treat dandruff and a fungal infection called tinea versicolor. These medications work by controlling how quickly your body sheds skins cells. They also have antifungal properties. Antiseborrheics come in different forms, including shampoos and lotions. An example include selenium sulfide (Selsun Blue).