Thanks for your query.Based on the facts that you have posted it appears that you have multiple sebaceous cysts over pubic area near the base of the Penis.
This is definitely not STD
This area of skin is rich in sebaceous glands and hence prone to get more sebaceous cyst due to accumulation of sebum beneath the skin.
Normally they fade away without treatment however they need to be treated if increase in size or get infected.Take broad spectrum antibiotic for couple of days
Please consult qualified General Surgeon
for clinical evaluation and further treatment.