Why do I keep getting uti's?

I feel like I get uti's way too much! My boyfriend and I had sex a lot last weekend while we were at a hotel for his birthday. And now today I am having really bad back pain in my lower back on the left side along with smelly urine. I don't have any stds because we've been checked when we first starting dating and I get checked when I have my papsmear which I had a few months ago. What can I do to stop this? I always pee after sex but still get them!