If they look like small, painless, raised, pale or white spots or bumps 1 to 3 mm in diameter that may appear on the shaft of the penis, and sometimes on the head of the penis, could be benign growth known as Fordyce's spots.
They are common appearance and develop as sebaceous glands not associated with hair follicles.
They aren't caused by a STD.
For true diagnosis and for distinguishing from genital warts, see your physician!