I used to get cramps in my leg so bad. It was always when I was getting out of bed. One time my leg was just stuck out in front of my like cardboard. It was extraordinary. I stretched it out by grabbing my toes and pulling. Each time I ended up with no ill effects afterwards. My muscles weren't sore or anything, it was just annoying.

I asked my OB and he said to drink Tonic Water because it has Quinine in it. I didn't do it long, because it tastes like garbage. I just ate bananas instead and drank normal water.

I agree on the stretching out thing, though.