had to reboot computer and the dvd cd writer will not work. it is a dell dimension c521.
Hi and Welcome!
please try this:
Check device manager if the drive is present, and if there are any errors shown.
Additional check: get a bootable CD or DVD and see if you can boot from that disc. You may have to change the boot order in Bios or invoke some boot menu (check the manual for details)