Did you make any system changes?
You can check the connectors going to the DVD drive and make sure they are properly seated, also unplug then re-plug them back in.
If that doesn’t work you can try either going into the control panel -> device manager and uninstalled the controller for that DVD drive, Or clearing the CMOS on you MB.