Thanks for your query.Based on the facts that you have posted it appears that you have sebaceous cyst
on penis .Eariler you had venerl warts
on glans penis
which has healed up .
The scrotal 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.
Please take broad spectrum antibiotics along with anti inflammatory medication like Diclofenac
twice daily .
Get the prescription of medicines from your family Physician.
Ensure to clean your genitals with warm water twice daily.