Hi and Welcome!
What did you want to do as you got the error message?
First check, if it is a hardware or a Windows issue: get a bootable CD and try to boot from the drive.
Additionally: check if your drive can read commercially pressed data and audio CDs as well as Video and data DVD discs. Then try the same with burned discs (data and audio, CD and DVD).
Please also report back, what controller is used to connect the drive. Some add-on P-ATA controllers are not very compatible with optical drives.