Sorry to hear your PC is not recognizing your HDD and CD Drive.
1. Was everything working before.
2. Did something change on your PC - any hardware or software.
3. Are you able to boot
4. Do you see your HDD and CD Drive in BIOS
5. What version of Windows do you have
Please provide more information for us to be able to assist you - thanks!!!