Muscle cramps occur commonly and result in temporary pain in the muscles. Dehydration or loss of electrolytes like sodium, calcium, magnesium and potassium following severe heat or athletic activity can result in muscle cramps. Therefore, adequate fluids with electrolytes as in sports drinks should be consumed during such activities to prevent cramps.In addition, adequate stretching exercises are necessary before a person develops muscle cramps.