Dermatologists determines the best treatment for skin infections. It may involve antibiotics to fight bacterial infections. Antivirals to cure viral illnesses. Antifungal creams, ointments, powders, and pills are used to treat fungal infections.