When you get out of the water your period will flow again normally, so it's a good idea to use a tampon or menstrual cup while swimming. Pads and pantyliners aren't a good option because they will absorb water and become ineffective.