Clomid?

How long do you have to be trying for your doctor to put you on clomid?