Sounds like a Charlie horse. They are an intense muscle cramp that will leave the muscle sore for several days. Try eating a couple of bananas, supplement your diet with magnesium, drink plenty of water also....this should help prevent you from getting any more cramps.