Helping people with computers... one answer at a time.
There are a few things to check out if your computer freezes when you insert a CD or DVD into your DVD ROM.
When I insert a CD or DVD into my DVD ROM the computer freezes. What should I do?
I's suspect the device drivers for the DVD drive, myself.
You didn't mention which version of Windows. Assuming it's XP, I'd do the following:
run the system file checker.
visit windows update paying particular attention to any device driver updates.
consider visiting your computer manufacturer's web site and look for updates.
consider visiting the DVD drive manufacturer's web site and looking for updates.