I get them periodically in shoulder or lower back. Once with shoulder and once with back had to call 999 to move me off the floor (with morphine and diazepam, which was nice).
Not found anything to aid recovery other than time and muscle relaxant drugs to ease the pressure – prescription strength hydrocodine and then later normal ibuprofen.
Once recovered, core strength pilates