It doesn't hurt. There is an old tale that you have to wait an hour after eating to swim, it's not true. You shouldn't eat four Big Macs and go out in the middle of the water but it's not going to hurt you. If you should have a cramp, stretch. Slow down and reach that side for as much as possible. Don't stop moving, but continue moving, because that's going to stretch up that spot.