Trying to get Pregnant is Hard

I’ve been married for five years and for the past two years my husband and I have been trying to conceive. I have had two spontaneous abortions within the first month of conception. It has been so emotionally stressful for me to the point I want to stop trying. I have two children, he has three, we would like one together, and it does not seem like it going to happen. Every time I get my cycle, I get depressed. I’ve spoken to my doctor and he suggest my husband to submit a sperm sample to see if the problem is with him. My husband is embarrassed to put a sample in a cup. I said I would take it to the lab so no one know. At this point, I’m not sure what to do. Any suggestions? Stressed out of my mind wanting a baby.