Can a miscarriage cause infertility?

I didn't have conceiving issue before my last miscarriage. Infact, last pregnancy was not even planned, it just happened! Now, despite eating healthy, exercising, taking prenatal vitamins, tracking my ovulation and lot of other things, it is just not happening. I am sort of worried!😟 Has anyone experienced same after a miscarriage?