Public Swimming Pools

I'm probably being a hypochondriac, but has anyone who is/was pregnant swam in a public pool without problems? I'm reading online about E. coli and other things and it is scaring me.