Thanks for writing to us.
Your swelling sounds like Hordeolum
( infection and inflammation of the oily glands of the lid margins).
Give hot fomentation for 5-10 mins twice daily with a twice daily dose of anti inflammatory tablets for immediate relief. But to avoid recurrence , get a consultation to start on antibiotic ointments
and tablets if needed depending on the size and extent of the swelling .
Hope this helps. Take care.