Inadequate description of problem.
IF, it is rebooting to the CD, next time it goes for the restart, while computer is performing the POST, open the CD tray, remove the CD, allow computer to boot skipping the now missing CD, put CD back after Windows Setup is in control.