Trying for a year

Do you automatically get a prescription for clomid after a year of trying? Or what do they do before?