Possible cause for UTI

Patient: Hi! Is UTI caused by sexual intercourse? I haven’t ate any food or drink that causes UTI for a month now.is it possible to have one causing sexual intercourse? what would be the reason? Thanksis it possible to have a sexually transmitted infection? does it heal?

Symptoms: Fever, pain when making a urine (peeing)

Doctor: