Infertile an trying to get pregnant

Me an my bf are planning to get married soon but I had just found out I have endemtriosis which makes me infertile. Are their any ideas cause he don't think he can have kids an I'm not sure if I can either. But it's something I wanted for a long time an my dr said if I don't get pregnant before 39 I might not be able to have kids