Hello,
This swelling looks like a chalazion. Since it's a sterile inflammation medications might not help. Conservative measures like warm compresses on eyelids and lid massage should be done.
Next Steps
if chalazion doesn't resolve in 2-3 weeks of conservative measures ,do consult a ophthalmologist for definitive examination. You may be offered local steroid injection or surgical drainage for the same.