Violent Cramps

I'm on my period right now and for awhile I have been getting very, very bad cramps. I usually throw up because of my cramps, because of the pain. I have gone to the doctor and they gave me a muscle relaxer but that just kept me from throwing up, the pain was still at full force. Midol or other pain relievers don't help the first 2 days. Any ideas?