Miscarriage blues

Been TTC for 8months, finally fell pregnant last month but last Thursday I miscarried. How do you move on, all I feel is hopelessness. I feel sad all the time.. I don't know how I'm going to cope if it takes me another 8months or more and I lose it again. That's all I feel like my future holds right this second. Does it get any better?