If your CD-ROM will not open not even one CD then you have a hardware problem, your CD-ROM drive has failed or your Cd-ROM lens are dirty. If the lens are dirty your should clean them.
You should go to a computer shop and buy a cleaning kit and clean the lens.