SAMSUNG SH-S223Q burning problem

I just recently bought a samsung sh-s223q I had to go out and buy the sata cables and all for it I got home hooked it all up it plays my movies but it wont burn dvd’s it reads the dvd disks and all but when it goes to burn it crashes leaving me to restart the whole thing. Im guessing it’s all hooked up right since it reads disks and all just doesn’t burn them what could be wrong?

My computer is a Hp Pavilion A1253w
the dvd burner is a Samsung sh-s223q

Which software did you use to burn DVDs?