How does Sperm analysis work?

Where does my husband go and what all does he have to do? Is he able to take car of business at home or does it have to be at office? What’s all the typical steps? Thanks for help.