IUD? Or Birth control?

Honestly been thinking about getting on Birth control because my periods are heavy and super painful. I can't decide between an IUD and the pill. Which one helps with pain the most? I'm a little worried about a IUD because my mom had one and she had it move up further than where it should be. But please leave suggestions !!