suicidal thoughts, just need to let it out

i’ve had a lot of anxiety & some depression this past week but today was the worse, a small thing triggered me to start overthinking & i found myself driving recklessly in my truck, i stopped & parked by a bridge down the street, i swear if i wasn’t pregnant i would have jumped off.. i came back home & laid in bed crying just thinking of running out & getting something to hurt myself, i couldn’t get up tho, i kept thinking about my baby but other thoughts drowned my head. i always find myself holding my breathe in these situations, scratching my arms bc there’s nothing else i can really do, it wasn’t until someone came to me & comforted me that i could stop thinking about it. idk why i get like this tho, it makes me feel crazy, i feel like just doing the most insane things, i can’t even explain it. people always ask me what’s the cause of my anxiety but i don’t have one, i hadn’t gotten it for maybe half a year already til now. i was taking medication after i tried suicide & ended at the mental hospital but i stopped bc i was good. i’ve looked it up & it says women get depressed when pregnant & that it can lead to miscarriage, am worried about my baby bc of my actions, honestly for a second... i thought that we would both be better off not being in this fucked up world..