Encouragement please

So I’ve been struggling with getting pregnant and staying pregnant and i just need some encouragement. So about early January 2016 i got pregnant and it wasn’t a viable pregnancy i had to have surgery and everything, we were scared to start trying again after the doctor released me to have sex again we were scared for about 6 months but since then me and hubby have been wanting to get pregnant again so we stopped using any kind of protection and i went until about March 2017 without getting pregnant but when March came around i finally got pregnant again and we were chugging along everything looked great. (I’m high risk, so i had a lot of appointments very close together) and about 2 weeks after we were told everything looked great i was measuring up fine, 8 weeks along. So in about 2 weeks (10 weeks along) when we went back to the doctor we would tell a few more people (not public knowledge yet) outside of my immediate family. Getting so excited and then the 2 weeks come and we finally go back to the doctor, hubby almost couldn’t make it because of work. (He wanted to go to as many as possible) but thank god he was able to go with me because we found out that there was no longer a heartbeat and it was on its way out. We chose not to do a d&c; but to just let it pass. And it did and everything went back to normal my period went back to normal. But now since then we have been trying but i can’t seem to even get pregnant whatsoever. And it’s making me sad that I’m afraid that now i can’t get pregnant again.