birth control for cramps?

So my doctor put me on birth control for my period cramps and to regulate my period; however, she said it's not used to prevent pregnancy. Is this true? I figured all forms of birth control can prevent pregnancy and/or make it hard for you to get pregnant 

Glow Resources

Let’s Glow

Glow is here for you on your path to pregnancy

Glow helps you navigate your fertility journey with smart tools, personalized insights, and guidance from medical experts who understand what matters most.

25+ million

Users

4.8 stars

200k+ app ratings

20+

Medical advisors