hi dear, by ur history it seems that it can be an infected sebaceous cyst
or a condition of blockadge of glands called as hidradenitis suppurativa
. now management of both is different, the former needs surgical excision while the latter needs medicines. so i would suggest u to meet a dermatologist
and get the appropriate treatment.