My sister accidentally discovered that muscle relaxers work awesome for period cramps; she was taking them for an unrelated problem, but half an hour after taking one her cramps went from “can’t stand up” to completely gone. Talk to your doctor, obvs.