Usually, when we get these cramps, the muscles automatically relax after sometime. However, sometimes, when the condition becomes too severe or painful, then one has to visit a doctor so that he/she does not suffer from serious problems like tendonitis or carpal tunnel syndrome. Also, if these cramps occur quite frequently, then medical attention is needed.