Could not being hygienic cause a uti

Patient: Hi, I had sex with my boyfriend about a week ago, and after sex I didn’t immediately shower, we did use a condom and we always have safe sex, is there a possibility that not showering after sex could have given me a UTI. my urine is a dark yellow and is a little cloudy and it does sting a little to urinate.

Symptoms: Dark urine, discomfort when urinating