Leg cramps, sometimes called Charley horses, are a common ailment, especially for pregnant women, the elderly, and people who engage in sports. A sudden contraction, usually of the calf muscles, causes sharp pain that can last anywhere from a few seconds to 10 minutes. While leg cramps can be prevented, you can relieve an acute leg cramp with prompt movement and massage.