You probably have hidradenitiis suppurative, a fancy medical term for an infection of the apocrine sweat glands that can occur under the arms, the chest, and in the groin areas.
This can usually be controlled with antibiotics but may need surgery in sever cases. It is more prevalent in smokers. You should be evaluated by your internist, dermatologist, gynecologist
, or surgeon.