For those of you with painful period cramps, what has helped?

Looking for anything from the obvious to more untraditional.

(Also, has anyone ever successfully gotten pain meds prescribed by a DR specifically for period pain)?

I feel like my legs when I stand just want to give out on me because of the amount of pain in my thighs from cramping. Also feel like my body is shaking all over internally from the pain.