TRYING TO CONCEIVE

I'm nervous that I might not be able to get pregnant, because for one I been trying for over year. Then my periods started acting crazy and my mom she wasn't able to carry a child fully term an miscarried 11 of them, I wonder is it hereditary