Endometriosis always cause infertility?

I’m 18 and I’m pretty sure I have endometriosis.. I’ve had lot of the symptoms in the last few months.. painful sex.. pain while defecting... excessive gas :/... and awful painful periods.. my grandma had it and I’m unsure if my mom did. The most concerning thing to me besides painful sex is the infertility. Since I was young, I was always afraid of ended up infertile.. so I’m just wondering if that going to be the case.. I have an apportionment with my ob next week but I can’t stop thinking about it.. and if anyone has ways to help with the sudden pain I now experience during sex I would love some advice :)