Right so I am going on holidays/vacation and I get my period one day after I’m back home but I’m scared Incase I get my period early and I’m in the pool what should I do !?

So I am going away on holiday and I’m bringing my boy best friend who is generally good wi talking about periods and all of that but if I get my period in the pool i will be so embarrassed so...has this ever happened to any of you before and what can I do to prevent it 🤔?