Scared

What happens if I admit myself into the hospital for my thoughts about hurting myself. I already hurt myself a few weeks ago. And then I did it again in front of my 2 year old, I didn’t realize he was there, and my husband stopped me. I am on antidepressants, but I have only been on them since my baby was born 10 weeks ago. I don’t know what to do. I want to breastfeed my baby, but I need help. My baby is exclusively breast fed.