From what I understand, pus was coming out from your lower eyelid. The photo is blurry but I can hazily see a swelling on your lower eyelid.
It could be a stye or an internal hordeolum. But because it's been there for 2 months, it needs to be looked at in more detail.
Next Steps
Kindly visit an eye specialist close to your house.