Depression After Miscarriage

I just got done healing ( physically) from my 4th miscarriage. I am so depressed I can barely function. I’ve been having suicidal thoughts and it scares me a lot. I know I don’t want to die. But sometimes it’s just so hard to live.