If you are in open water and feel a serious cramp starting remember how buoyant your wetsuit is, roll onto your back, float and try to stretch it out.
Source: Swim Cramps: What, Why & How To Deal With Them @ triathlete europe
Image by Slitterfin (Own work) [CC-BY-SA-3.0 or GFDL], via Wikimedia Commons