go swimming at the pool with period

you use tampax or something, or you avoid go swimming when having period?