It seems that you may be having pearly penile papules on the rim of glans penis
. And the small whitish bumps on the distal part of shaft of penis may be Fordyce spots
. That is abberant hypertrophied sebaceous glands. Both the conditions are benign and need no treatment. But, if you wish to be free of both conditions. Electrocautery may be done by expert to remove PPP and Fordyce spots. For that, you consult dermatologist
. I hope you got my answer.
Dr. Ilyas Patel MD