Slow and gentle stretching of the hand or foot to ease the contracting muscle is the best way to stop this kind of cramp. Brand X Pictures/Brand X Pictures/Getty Images. If you have low levels of certain nutrients in your body, this can cause hand and foot cramps. If you have reduced levels of calcium and magnesium, that can bring on cramping. Lack of vitamin D can cause muscle spasms and cramps in your hands and feet.