Has anyone ever gotten muscle spasms

In your ab muscles? I know that’s weird. Its only happened a few times but it feels like my abs are going to rip apart. It’s so painful. Only lasts a minute or so and then it’s gone. I literally try not to move out of fear that I’m going to tear the muscles in my stomach. Is there anything I can do to prevent it? I’m not pregnant.