Feeling extremely depressed

I’m about 6 weeks pregnant. I had a missed miscarriage at 12 weeks back on 18th June 2018. On 23rd June 2017 I had an ectopic pregnancy and miscarried naturally at 6 weeks.

I’m feeling extremely depressed and worried that I’m going to lose another. I don’t feel like I’m doing everything right, I feel like I’m doing everything wrong even though I’m sticking to the rules and guidelines of pregnancy. I take my vitamin everyday, eat plenty and drink plenty, exercise and rest all in moderation. But I still feel like I’m doing everything wrong. I don’t want to lose another baby. I don’t think I could handle it. I don’t think I can get through the next 6 weeks feeling like I’m just going to lose another baby before the second trimester.

What do I do?