Pain and cramps

How don you get rid of the cramps... I take midol and it isn't working.. HELP