Semen analysis question

My husband and I are approaching 1 year of ttc. I have an appointment scheduled and was wondering if you had a semen analysis done prior to your appointment? Or do most people wait until your appointment to get a referral from your gyno?