How long do doctors let you use clomid?

I am in my fourth month of clomid and the doctor says I can only do it for five. I am up too 200mg and finally did ovulate this month. Has any of your doctors let you continue to use clomid once you started to ovulate on them? And if not, what usually comes next if clomid doesn't work?