hello. you probably seem to be having hidradenitis
suppurativa(recurrent infection f apocrine sweat glands in axillae and groin)which gets infected from time to time.there are good long term antibiotics available(need to be taken for 3-6 months). if these are resistant and if you have completed your family, there are good non-antibiotics like systemic retinoids
, for resistant cases.