Hi there. It appears that there is an infection of the glands inside the eyelid which is causing a pus point called Meibomitis or Chalazion
. You may avoid touching or fiddling with the affected eyelid. Kindly apply warm compress on the area for relief. It is best that you consult an Ophthalmologist as soon as possible so that the right diagnosis and treatment can be done.
I hope I have answered your query. I will be available to answer your follow up queries.