Swimming in a hot country with my period

Lilliclark

Is it ok if I swim with a tampon and tips and tricks to keep it on track (worried to get TTS )