I think you have a stya. It is an infection of the sebaceous gland of the eyelid. I had them like five times. So, one time I put ear wax up there. It sounds yucky but its works. Or you can put a hot rag on your eye. For a long time.
My eyelid is red, swollen and painful to the touch and I have a white pus bump on the inside of my eyelid. What is causing this and how can I cure it?
I think you have a stye. I don't really know much about them but you could google it and see if thats what you have.