Mild skin inflammations usually respond to over-the-counter hydrocortisone cream. To reduce inflammation and heal the irritation of most types of dermatitis, a doctor usually recommends a prescription corticosteroid cream and might prescribe an oral antihistamine to relieve severe itching. You may need an antibiotic if a secondary infection develops. Severe dermatitis may call for corticosteroid pills or injections.