About to give up trying :'(

Destiny
Hello my name is Destiny I've been married to my husband for 4 months we have been together for 6 years. We have been TTC for almost a year in July and no luck should I just give up and stop trying because I just don't see it happening anytime soon. I'm having surgery one April 1st to see if I have endometriosis, could that make me not be able to have kids? Please help me I'm just really starting to lose hope... :'(