Please no judgment (Marijuana)

So I’m writing this because I’m 22 weeks pregnant and I have been a drug addict since I was 14 years old, I am 21 now. I recently stopping smoking marijuana for good but quit completely cold turkey. I stopped drinking alcohol and smoking cigarettes when I found out I was pregnant, which was about 9 weeks. Anyways, I am having VERY bad withdrawals. I cannot hold any food down and marijuana was really the only way I could eat. I’m having night sweats, and cold chills, and I’m also very dehydrated. I am determined to quit and stay off of it, but I’m not sure what I should do, or who I should go to too talk about this. I’ve already spoken to my doctor and she put me on anti nausea medication, but I didn’t realize it was going to be this hard to quit and I feel like a failure and I’m only hurting my daughter.... please help if anyone has any advice..