It is also referred as muscle cramps, which is involuntary contraction and tightening of muscle. It is often caused by overuse of muscles, dehydration, electrolyte imbalance and muscle fatigue. The common symptoms are agonizing pain, twitching below the skin and cramping muscle may feel hard to touch. You can get relief from spasm by stretching and massaging the affected area, standing up and walking and by applying heat or ice. Doctors may prescribe muscle relaxant along with pain killers to relieve spasm and associated pain.