CD Drive problems

Well my burner has been running good until now, because if I try to burn on Real Player it says writing content, then it gives me a burn error, then I try to burn using Nero 6 it gives me a reset occured fault, then to make thing worse I reboot the computer and it freezes when it goes to detect the IDE drives until I eject the CD from the burner it starts up fine, but I still can’t burn anything and it doesn’t recognize any kind of CD in the drive, please I need some help