Question: what happens if you start your period while swimming?
Answer: If you use a tampon or menstrual cup, it's unlikely that any blood would be released into the water while you swim. Even if your period started while you were swimming and a small amount of blood came out, this would be diluted by the water.