Athletics and Periods

Nikki
Ok. So I'm a competing gymnast, luckily I've never had to compete while on my period. We are required to wear a leotard. So what should I do if that ever happens cause I don't know?