Thanks for your query.
History seems that it could be a preauricular sinus
Its a congenital and gets repeatedly infected, sometime swollen and drains.
If now its a painful or swollen, then take antibiotics Like amoxiclav
and anti inflammatory drug like Chymoral
When inflammation subsides, It needs to be surgically removed.
Thanks, Have a nice day.