Trying for 2 years and now might have endometriosis?

I been trying after my daughter was born and I haven't had one positive pregnancy test😢 but now that I really want one so does my husband. My husband has a child already so it's not him so it must be me. My mother was told she has endometriosis and removed her ovaries, so I'm think maybe I have it and that's why I haven't got pregnant? I need help