What happens if clomid doesn't work?

So my doctor has said that if my last cycle of clomid doesn't work then the 2nd stage is speaking to a consultant. What happens with consultant?

The 3rd stage is then <a href="https://glowing.com/glow-fertility-program">ivf</a>