Sperm testing

Racheal
My oh needs to get his sperm tested but doesn't like the idea of having to do the test at the doctors in the toilet. Can he do the sample at home and then give it to the doctor? Any help is appreciated xxx