HELPP!! Can semen be a reason for Uti ?

Since we have started planning, I am super prone to UTI. Everytime we do unprotected sex, in few days my lower abdomin starts paining and then I find out that it’s UTI again.

I am 4months pregnant, last 3month we had sex twice and it was protected, by chance 3days back, we had an unprotected sex and he didn’t pull out and since last night I am having this mild pain which is exactly the UTI pain I get at the initial stage.

Now I have a big doubt that there is something with his sperm.. why am I treated alone or why should I keep all the precautions always.. I don’t know how my husband will react on this but I really feel it’s the semen for my UTI. What are the possibilities ??