You appear to be having inflammation of the eyelid. Apart from itching if this is painful then it is most likely to be infection or inflammation of the glands within the eyelid e.g. Stye
. You may start antibiotic drops but at the same time if inflammation continues then you would require oral medications which can be started consulting consulting doctor. Dry foment ation is not preferred moist fomentation is preferred.