Hello;
welcome to HealthcareMagic
The common bump on penis from which pus comes out like white cream is usually a sebaceous
cyst.If infected the pus can be greenish in color.If you are not having pain;swelling ;
fever then no reason to worry.Just in case they are coming frequently then you can consult a doctor for examination and treatment.
Thanks