Mentally unstable

I’ve dealt with so many mental disorders for my entire life. I’m at my end with it. I’m 23 years old and didn’t think I’d live to see today. I have a four month old baby. I had a rough pregnancy but she’s been great and I love her more than anything. I know my hormones are everywhere but I’ve been like this for so long and I just can’t take anymore. I don’t know what to do I’m seriously at a loss. I’m so scared of getting help because I’ll lose my baby. No one will trust me with her again. I question if I should even be in her life and loving her isn’t enough for me to be better. I take medication but it’s not enough. I can’t afford counseling and can’t talk to family because they would take her away too. I feel absolutely crazy and I want the best for her. I’m starting to think that’s somewhere other than with me but I can’t bring myself to give her up or get the help I need. Sorry just venting..