Thank you for the question,
If you are having sex or have had sex in the past, bumps on the penis may be signs of sexually transmitted diseases (STDs). Painful blisters, bumps, or ulcers may be herpes. Genital warts (HPV), can also show up as bumps on the penis. Sometimes these are irregular in shape or hard to see, and they're not painful. Syphilis also can give a guy painless ulcers on his penis. Finally, molluscum contagiosum is an infection that can be spread through sexual contact and give someone small, painless bumps. Seek immediate medical care. Your Doctor will examine and start the treatment.
I hope this will help you. Take care.
These Q&A’s are for educational purposes and should not be relied upon as a substitute for medical advice you may receive from your physician. If you have a medical emergency, please call 911. These answers do not constitute or initiate a patient/doctor relationship.