Last night I jumped out of bed screaming in the middle of the night with a bad cramp in my calf. It hurt like hell so I tried to stand up and put tension on it to make it stop... that is what I heard. Anyway what causes cramps to happen in the middle of the night while sleeping and more important what stops them from happening??