When did your doctor prescribe clomid

Or other medications to help you get pregnant? After a year of trying or before?