Balanitis or herpes?? Please help.

Hi, my gf had e coli bacteria in her urinary tract and we had unprotected sec, next day my penis smelled bad and its glans was red but not only that got small red bumps on glans too. Retracting foreskin became painful.. Im really worried that i have herpes from past encounters with girls, please help im So anxious. Thanks

Herpes are bumps with white or yellow puss inside and a round rim around surround it. It doesn’t sound like herpes but a yeast infection. 

See a doctor and get yourself a izoconazole nitrate 1%  cream