You are more than likely referring to fox-fordyce granules or perarly papules of the penis.
These are benigh white papules around the rim of the glans penis. They may be unsightly to you but are not a problem. It is somethiing you shold discuss with a urologist or dermatologist at length. They may refuse to do anything regarding this since it would be cosmetic and could injury you.