If you've been asked to give a semen analysis, you will be given specific instructions by the lab. You shouldn't have sexual intercourse before the test. The lab will tell you how long to abstain prior to the analysis. If you're doing the test from home, you'll be given a small specimen jar to ejaculate in. You'll need to return the specimen to the doctor as soon as possible, because the fresher the better. Some labs will request that you provide the specimen while in the lab. They'll provide you with a small jar, a private room, and some reading material. Here, just as with a sample taken from home, you must submit the results immediately for accurate analysis. The lab will test for sperm count, movement, and percentage of normal shapes.