Miscarriage

I’m 17 and I’m pregnant. I’m way to young to have a child and I’m freaking out because I took a pregnancy test and it’s positive, how do I have a miscarriage! Please help!!!!!