Endo doesnt always mean that you cant have any more children. Have they told you how severe the endo is yet and whether you will have a lap? I am 24 and had my first lap when I was 23, its not fun but it is bearable I promise, even I managed to get through it! Depending on how much endo you have and where it is will depend on whether you will have more children. They can never say for sure but they are able to blast off the endo from where it is growing (for me it was around my ovaries) and that should give you a greater chance of being able to have children again.
Make sure you let them know how important it is for you to have kids again and they should be able to give you more information regarding the possibility of this and also when would be best for you to try again.
Hope this helps! If you need anyone to talk to I am new to this site so I am happy to answer anything if I can! xx