His dr can request it. Talk to your ob and his primary doctor.
But ours was because I ended up pregnant 9 years after his vasectomy.
My OBGYN ordered one for my husband we gave the sample and had our answer less than 5 min later.
Start with a fertilaty specialist or a urologist