Thanks for your query,based on the facts that you have posted it appears that you have Fordyce spots
over shaft of your penis.
The penile 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.