Swimming?

Can you swim or be in a pool with a menstrual cup? Will it leak?