There's several different possible causes
1) Is simple hardware failure (ya may just need a new drive)
2) It may not be "seated" correctly. Check your manual and unlatch it and then slide out the entire CD drive (after powering down computer) then reseat firmly and evenly by pushing it back in with one finger applied on each side of the drive
3) Remove your CD driver filters. Are you running XP or Vista?