Sex & pills

How long do you have to be on the pill for to let you boyfriend do his bit inside you? Or does it not matter?