Jellyfish swim alongside humans all the time without stinging them, so you shouldn't worry. However, if you're adamant about preventing jellyfish stings, you could avoid the water during jellyfish season, which happens to be the entire swimming season from mid-spring through late summer. A better idea might be to wear a wetsuit.