If you’re using your partner’s sperm, a semen sample needs to be provided at your doctor’s office or clinic the morning of egg retrieval. Typically, the semen sample is collected through masturbation. Other methods, such as testicular aspiration-the use of a needle or surgical procedure to extract sperm directly from the testicle-are sometimes required. Donor sperm also can be used. Sperm are separated from the semen fluid in the lab.