Painful period

I have the worst painful period I’m like moaning from the pain and it hurts my back so much I feel like my spine is going to come out my lower back, I always feel like I need poop it’s horrible I want to vomit sometimes ,

any advice on what medicine I can take