Should I get a cup??

Hi ladies,

So I’ve been thinking about getting a cup, but I was wondering if you can use them while swimming. Has anyone done this?? Or is it too risky because they could leak? I don’t want to get one unless I can swim in it... also, how do you know what size to get???