TTC related: anyone else experienced this?

I want my husband to get a semen analysis but he's really uncomfortable with it. He is pretty shy when it comes to talking about sexuality with people even doctors and he doesn't think he would be able to relax and masturbate in a Dr office. We don't know much about the process so that's all we imagine it to be like haha any tips?