This looks like a Chalazion of the upper eyelid. It may resolve spontaneously within a month. If it doesn't then it may require cleaning up by an ophthalmologist.
Next Steps
Please book an online consultation for prescription of medication
Health Tips
You can do warm compresses on the closed eyelid as frequently as you can ( 4 to 5 times a day)