So my boyfriend just found out he had a UTI

Patient: So my boyfriend just found out he had a UTI . Is it true he cant ejaculate because the medication will come out ? And if he was to have sex with a condom it’ll be safe ?

Doctor: