Hello. Thank you for posting your query.
The symptoms you described and the past history of styes guide me more towards stye rather than any other condition. Stye is an infection of sebaceous gland at the base of the eyelashes. It points towards the outer aspect of the lid where as a chalazion,( a condition where meibomian glands get blocked and get inflamed) points inside the lid. The repeated attack of stye is sign of unhygienic practices and/ or reduced immunity as in diabetes. Stye is triggered by reduced sleep and poor nutrition. Also sharing of cosmetics like eyeliner brush, as in your case has an increased chance of acquiring stye.
I would recommend the following:
1)Regular washing of hands with soap.
2)Warm compresses to eyelids every morning for 5-10 minutes for 5-6 times a day
3)Dont share cosmetics
4)Dont prick the eyelashes or tip of the swelling
5)Consult an ophthalmologist if symptoms persist beyond 7 days. Erythromycin is quite effective, but again should be prescribed under supervision.
Hope this helps .