Gonal f for iui?

My dr will put me on gonal f but as i can read is that women using this is for ivf and they all have 20 eggs....? Im sooo confused lol can someone clear me up? When to take it? The difference with letrozole and clomid?