Cramp is a term often used to refer to a painful, involuntary contraction of a single muscle or a muscle group. Cramps are caused by overexertion of the muscles due to prolonged sitting, inappropriate leg positions while sitting or dehydration. Make sure to drink plenty of water and stretch every day to prevent cramping.