How to deal!!!

So ive been ttc for more than 5 years. I bought preseed and became pregnant. Two weeks later i miscarried. That was in july. I have been doing EVERYTHING i can to try to get pregnant again and every month i feel like a failure. I didn't think i could get pregnant at all and to finally have it happen then ripped away is horrifying. I am struggling to stay positive and keep faith. Don't know where to turn