is swimming ok while ttc?

Ranya
I would like to go to the pool and swim, exercise but I'm afraid of bacteries in the swimming pool? Is that ok to do? Or should I choose another sport?