what should i do 😥😥

I had a miscarriage in 2015 then got pregnant again and miscarried last year I suffer with depression and anxiety is this the cause of my miscarriages me and my bf has been trying since then but I feel like I'm so depressed to where I want to just stop trying