Thanks for your query.Based on the facts that you have posted it appears that you have developed infection of the glans penis
due to allergic reaction
to chemically lubricated condom.
Since you are having protected sex there are less chancesof acquiring Herpes infection.
Please take broad spectrum antibiotics along with anti inflammatory medication like Diclofenac
twice daily and topical antibiotic
ointment like Neosporine for local application..
Get the prescription of medicines from your family Physician.
Ensure to clean your genitals with warm water twice daily.