Welcome to healthcare Magic!
Most likely you have abrasions as a result of shaving and that raw area has got infected to form small boils
Another possibility is an infection from an infected partner through oral sex
Infections like herpes
, papilloma, molluscum
all can be communicated in this way and lead to similar eruptions.
Your clinician give more pin point diagnosis once you get a local physical examination.
Wish you a great health!