When it happens in your sleep, it usually means you had too much sodium during the day, and/or pushed the muscle too hard πŸ˜–

It used to happen to me so frequently (I have nerve damage), that I keep a Hot&Cold roller beside my bed - sincerely soothes the muscle πŸ”₯❄️