Hello,
It looks like your boy friend is suffering from either
Balanitis or
Balanoposthitis.
It can also be due to rough sexual intercourse, injury or allergy due to latex(condom), spermicides.
No worries he'll get fine. He needs to visit ER, get him examined & treated at the earliest. In the meantime abstain from sex for a couple of days.
He will have to go for a few blood tests, urine tests, swabs from the
glans penis to test for infection from the laboratory.
He may have to get STD tests done to rule out Chlamydia,
Yeast infections, Fungal infections or
Gonorrhea. He needs antibiotics & antivirals.
He can take Acetaminophen(Tylenol) or Combiflam for relieve from pain & inflammation.
Hope I have answered your query. Let me know if I can assist you further.
Regards,
Dr Nupur K, General & Family Physician