Welcome to progress
It sounds like your new computer comes with
Serial ATA connections/drives It sounds like you bought a drive with the older standard,
Parallel ATA standard.
You can either take the drive back and swap it for a SATA, buy a parallel ATA controller card and hook it into that, or as X_Trippin' pointed out, convert it into an external USB drive. That would be my least desirable choice since you would take quite a performance hit.
Easiest would be to get an IDE controller. They can readily
be had for around $20 .