Severe cramps in my left leg at 22 weeks pregnancy

Last night / early morning around 4 AM I felt severe cramp in my calf muscles of left leg. I was sleeping on my right side. I wonder why? What to expect next? I am 22 weeks pregnant.