Clomid help please

I'm currently on cd 18 and my Dr just called in clomid. Is it OK to take it now or should I wait for my next period? My cycles are very irregular. The Dr has already left for today but I was just wondering. I will call first thing tomorrow