Here is a brief summary of bumps that can be found on the penis but are not an std. they are often mistaken for an std.
YOU SHOULD STILL GET A DOCTOR'S DIAGNOSIS!
Sebaceous glands and penile papules:
Sebaceous glands and penile papules are often mistaken for STDs, but they are not sexually transmitted. Sebaceous glands are usually attached to hair follicles, but can also appear on hairless areas of the body, such as the penis. The glands release a fatty substance called sebum on to the surface of the skin, which may give the appearance of a rash.
Pearly penile papules are often mistaken for genital warts but are in fact a physical variation found in many men. Papules appear around the head of the penis as small, dome-shaped bumps, which may be skin-coloured.
This link will take you to the pictures... scroll down to the bottom...
STD pictures