hELP - just deleted both my cd drives!

Help, managed to remover both my dvd drive and cd-r drive and now it says it cant install new hardware as the registry is incomplete! what do i do?!

reboot