^^ I have a lot of folk remedies that work for me, but not for most.
If they last >24hours I would go to an urgent care clinic or better just the damn ER / A&E. At 24 hours it's interferred with your life to the extent you need immediate care. It's not healthy for you in several ways, minor but still - that constant shocking of the abdomen can't be fun for at least a few days afterwards. I think you'd be sore
Has it been uninterrupted ? Were you able to sleep? Maybe laying down and trying to nap / fake sleep would slow your breathing enough to stop the fuckers. Or if you know CBT techniques try the old breath in, hold, long exhale - for slowing the body's activity.
Hot shit on a stick in the sand, I wouldn't want those but have suffered them for > 6 hrs on dope as a beginner junkie, it tends to go away with longer term use. Not a reason to use more.
Edit: funny thinkg is they may shoot you up with Ativan to try to stop them. Not sure what standard protocols are these days but benzos used to be one of the one used to stop the fuckers. Probably a more specific muscle relaxant, maybe baclofen, though that's a general muscle relaxant , imo.