A related discussion,
Is it folliculitis or herpes was started.
I haven't shaved the area since the redness occurred.
the center of the bumps have a hard yellow head and seem to be rather deep in the skin.
I recently had a similar issue. I had small little bumps on the base of my shaft. They itched a little. My first doc told me it was just folliculitis. A second option from a dermatologist told me they were genital warts.
I was shaving/trimming the hair around the base of my penis, and the doc said that I was just irritating the warts and that was causing them to multiply.
So perhaps stop shaving so close, and just keep the area super clean.
This is the type of thing and the area that you want a specialist to examine, at least that is my opinion.
I'm no expert but looks like either folliculitis from shaving your genitals. Could also be molluscum on the shaft (I don't think you can get molluscum on the scrotum). The scrotum lump looks like a cyst. I had one myself that swelled up over about 2 months and then a hard white lump came out - I think this is the cysts sac.
They look like inflamed cysts, as much as I can tell from the rather fuzzy photos. Gym workouts can make such cysts red and irritated, but that doesn't mean anything. Cysts are part of normal penile and scrotal anatomy. Nobody knows why they come, and it doesn't much matter. I don't see any reason for you to avoid sex. Check with the doctor who examined you, just to be sure. The leave the cysts alone and ignore them.
Best.
Dr. Rockoff