[header] How to treat muscle spasms [title] Stop doing the activity. [step] When a muscle spasm begins, stop your activity. Spasms can happen during exercise or while doing normal daily tasks. 
At the first sign of a spasm, stop what you are doing and try to deal with the spasm. Although they can be painful, there are generally no long-term concerns.