UTI😭😭😭

So I got a uti and idk why and definitely don’t want it again:( I pee after sex but we have sex like 5 times in a row so should I pee between each time?? Or is it from fingering? He’s really clean so i don’t know why I got a uti? Any advice???