How does it work?

How do you get your dr to put you on clomid or metformin? Did you just simply ask or is it a procees? How did you do it?