Sex in a pool

My husband and I were just swimming in our pool and one thing led to another and we ended up having sex in our pool. I was just wondering if any of you have done this and not ended up with a uti or yeast infection? It was great sex but now I'm wondering if it was a really bad idea......