I am so sorry about your miscarriage. I know you have been trying to get pregnant for a while. I do think you should take time to mourn this loss, and get support wherever you can, including possibly a counselor or a pregnancy loss group through Resolve or a similar organization.
Let your body heal in the meantime. Once a few months have passed, talk to your doctor or a high risk pregnancy/fertility specialist about the specific nature of your scar tissue. You speak of a C-section scar and also about scar tissue that blocks the fertilized egg. From what I read (which is, admittedly, not in depth), it seems to me that there can be scarring within the uterus (and if the egg attaches there, is doesn't get enough nutrients) or possible scarring outside the uterus where other layers of tissue were cut (and perhaps that scar tissue can extend to block either or both Fallopian tubes). But those are separate locations, and maybe only one is involved. Once your body has returned to normal, find out if a new ultrasound might or might not show everything, or if you need something like as HSG (hysterosalpingogram) test to see if the tubes are open or partially blocked, or perhaps another more detailed scan to assess the degree and location of scarring.
You need more answers before you decide how best to proceed. There are some very advanced techniques these days and you need to investigate them, but only once your emotions are less raw and you have a clear head for evaluating.
Please take care of yourself.