Period and swimming

Can I go swimming with my period on what of tampon need to were, please let me know!