A weekend spent gardening. A raucous game of pickleball. Bending over to pick up a dropped pen. Suddenly your neck or back seizes up and it’s hard to catch your breath. Muscle spasms, where the muscle involuntarily contracts—and stays that way—for a few seconds, minutes, or longer, are painful and impossible to predict.