Clomiphene or clomid issue

Hi lady's, I just want to ask if it is ok to have sex the same day while taking the clomid? Because I'm confuse about my doctors instruction. I mean I know no sex after 5 days of the last pills. But how about the 5 days while taking the clomi? I hope I can get the answer here.