Help!!! So confused

So my doctor said I have to take provera to start my period, and on the 5th day of my cycle start taking clomid.

So I have to take clomid while I'm on my period?