Hello,
These bumps can be due to irritated skin or Fordyce spots which are harmless. If you have any itching or discharge from the penis then fungal infections and STD’s which can be transmitted should be ruled out.
It is very difficult to precisely confirm a diagnosis without examination and investigations and the answer is based on the medical information provided. For exact diagnosis, you are requested to consult your dermatologist. I sincerely hope that helps. Take care and please do keep me posted on how you are doing.