Can you please be more specific?
When did this problem start to happen?
What's the make and model of your computer?
Do you have all the latest drivers for your CD-ROM drive?
Have you made sure that the SATA/PATA data+power cables are firmly connected to both your CD-ROM drive and your motherboard?
I await any questions you may have.