Hydrocortisone cream is safe to use for limited periods but it sounds like you have a condition called Blepharitis which can be caused by dandruff or a low grade skin infection on the eyelids. It would be best to try an anti-dandruff shampoo such as Selsun 2.5% applied directly to the lid or an antibacterial cream such as Fucidin. There is also a tiny mite that can also aggravate the condition. If the condition persists, then get a doctors opinion.
The information provided does not constitute a diagnosis of your condition. You should consult a medical practitioner or other appropriate health care professional for a physical examination, diagnosis and formal advice. Health24 and the expert accept no responsibility or liability for any damage or personal harm you may suffer resulting from making use of this content.