Hydrocort cream is used to treat inflammatory reactions due to dermatitis , insect bites and mild to moderate eczema .