Cyst like bumps

Anyone else gets these cyst like bumps on you inner thighs and close to your butt? My doctor says they're infected hair follicles. But OW! I honestly rarely shave. And they get soooo big. Anyone know how to manage them or get rid of them!! They hurt!!