Uti prevention...

Ti

Okay well I'm nineteen weeks pregnant and I've had uti twice since being pregnant. Ever since I was a little it has always been easier for me to get a uti. I got them very often but as I grew up it would become less but more severe. The last time I had one was six years ago and I haven't had it till now. So I've had it twice now and I'm very cautious. I always wash every night and drink lots of water and go to the bathroom often but I was wondering if anyone knows if it's okay to take cranberry vitamins while pregnant? Does it effect the baby? Is it safe?