Welcome to the forum
Can you try booting from your XP disc?
You’ll have to change the boot sequence first, to make your DVD drive the first device. You can do this on a one-time basis, which is all you’ll need. On my Dells, I press F12 at the Dell logo screen, to get the boot list (mine are desktops, though).
If it fails to boot from your XP disc, then there’s something wrong hardware-wise - maybe the drive itself or the IDE cable.
If it boots OK, then there’s a Windows/software problem we can help you investigate.
Also: does it burn CDs?