always getting uti?

I'm always getting utis since I've been pregnant and I have no idea why, when I was 26 weeks (31 weeks now) I got a bad uti that I had to be prescribed medication for. I take all the precautions to prevent them but I still get them? how do I make this stop? & who else gets them all the time?