What causes miscarriages?!

im scared to have one i just want to know if it's your body that does it naturally or stress or if you take a medication anyone wanna share what caused ur miscarriage? sorry i'm just very scared right now