A muscle spasm can sometimes be an indication that you have injured yourself. Injuries take time to heal. However, there are a few steps you can take to speed up the process. One is to rest the muscle and ice it. When this starts to provide some relief you can than advance to stretching the muscle out through stretching exercises.