Thanks for your query.Based on the facts that you have posted it appears that you have develope a fissure over glans penis
and have bruising on tip of the penis.
This is most likely to be due to infection of the Glans 9Ballanitis)
Please take broad spectrum antibiotics along with anti inflammatory medication like Diclofenac
twice daily and topical antibiotic
jelly like Neosporin
for local application.,
Get the prescription of medicines from your family Physician.
Ensure to clean your genitals with warm water twice daily.