The most common cause for Cramps is dehydration
at cellular level. Dehydration would be the loss of water and the nutrients and minerals. Take at least 4-5 liters of water during the day, add minerals to the water you consume, simple table salt will help, just a pinch of it to 1 liter of water. If your problem still persists then we would suggest that you see the Surgeon in this regard. Though there are other reasons for the cramps that you have, the one we typically see is dehydration.