Birth Control?

Recently my periods have been getting bad, the amount of blood hasn’t changed but the pain i’ve been feeling with my cramps has been killing me. It’s been making me throw up and no medicine works. I need some advise because a lot of my friends are on birth control for this but i’m not sure if I need to be or not so please comment what I should do. Thanks!