Hydrocortisone blocks substances in the skin that cause itching and inflammation. It may be recommended by your doctor as part of a treatment plan to manage eczema.