It’s different for everyone as far as my experience goes. Some find edging helps with cramps, some find orgasms make it better. But others find one, or both make them worse.
Similarly some women find themselves getting stupidly horny around their period, for others it kills their libido.
You’ll just have to try it out and see what works for you I’m afraid.