Stretch, and gently massage the area. Icing the area may stop a spasm, as can applying heat with a warm towel or heating pad or running hot water on the muscle in the shower.
See a doctor immediately if:
Make an appointment to see a doctor if: