How long ago did you buy it?
As Monkey says, go into your PC, and check that the power cable (4-way molex thing, black,red,yellow in colour) is firmly in place, and that the IDE cable (wide ribbon cable) is firmly inserted into both the motherboard, and back of the DVD drive.
edit: :">