Welcome to HCM.
on penis is suggestive of infection on penis might be due to improper hygiene or after sex.
Painful urine is suggestive of urinary infection.
Go for urine test.Start specific antibiotic for it under guidance of your doctor.
cream will be helpful.Continue to drink more water.
Take care for proper hygiene.