Clomid

How does Clomid work? Is it a daily pill for your whole cycle?