Advice !!!

Has anyone had a miscarriage and it took them a year or over a year to conceive and figured out the reason why? Need help! Can’t understand why I’m not getting pregnant !