Tampons and swimming

My period is four days late (this is my second period) I’m going swimming today in a hotel pool and I’m super nervous that I’ll start it in the water, is it okay if I wear a tampon even though my period hasn’t started???