To get rid of contact dermatitis, apply an anti-itch cream and/or take anti-itch medication and antihistamines. You can also apply a wet compress, soak in a cool oatmeal bath, wash your hands regularly, and avoid the allergen that caused your flare-up.