Telling your mom for the first time

I told my mom I had sex and im 17. She went way overboard flipped out, and made me feel like I fucked up even though I've been with my boyfriend for a long time. How should o approach her to talk to her without her flipping out & screaming at me?