Lump in leg joint area

I have a lump under the skin in the groin area and I'm scared! It hurts what could it be? It only started hurting today and that's how I noticed it. My brother has Hydrogenitis and I'm scared I might be getting it! Please help? Anyone know what it could be. The lump you can't see because it's under the skin but this is what's around it. It's itchy and I made it red from scratching it. I think this part is from shaving but I'm not sure. PLEASE HELP