Razor bumps also develop after shaving.
Poor shaving techniques can result in bumps and burns.
If you are experiencing irritation in your groin, try to keep the area clean and dry, wear looser clothing, remove sweaty clothing right away after exercising, and avoid scented cleaning products and other skin irritants for a few days and see if it reduces your symptoms.
If you are having too much trouble, and none of the methods above are working well, then you should try using Hydrocortisone cream there.