Endo/surgery

I just had appendix surgery on Monday, after the surgery the doctor was telling me that I have a lot of endometriosis, which I've been told before (I was also on my period), he suggested that I needed a hysterectomy. I am only 21, I want kids and my period cramps are not even bad, just a punching pain. 
​So my initial question is what are my chances of having a child then? I know you're not a doctor and I go to the gynecologist Monday about this, but this would tear my heart if I'm not able to have kids.