flexibility.
### Move During the Day
If you sit for long periods, stand up and walk periodically.
Likewise, people who stand all day may benefit from rest and gentle stretching.
### Eat a Balanced Diet
A varied diet generally provides the minerals muscles need without automatically requiring supplements.
## When Nighttime Leg Cramps Need Medical Attention
Most cramps are harmless, but certain patterns deserve evaluation.
Speak with a healthcare professional if your cramps:
* Happen very frequently
* Regularly interrupt your sleep
* Are becoming increasingly severe
* Last unusually long
* Begin after starting a new medication
* Occur with muscle weakness
* Occur with persistent numbness
* Do not improve despite simple measures
The original source also recommends evaluation when cramps are frequent or accompanied by significant swelling, redness, weakness, numbness, or severe pain.
## A Swollen, Red, Painful Leg Is Different
A simple muscle cramp usually improves when the muscle relaxes.
A leg that remains **swollen, warm, red, or painful**, particularly when only one leg is affected, should not automatically be dismissed as a cramp.
These symptoms can have several causes and sometimes require urgent evaluation.
If leg swelling or pain occurs together with **sudden shortness of breath, chest pain, coughing up blood, fainting, or severe breathing difficulty**, seek