To diagnose male infertility, a urologist may perform a series of tests such as medical history, physical examination, semen analysis, hormone blood tests, scrotal ultrasound, and testicular biopsy. Treatment may include surgery, hormonal therapy, ART, and lifestyle modifications.