It just keeps restarting I don't know what to do.
Try restarting it
Insert Windows disk, start from there, and try a repair.
Then back up the data, reinstall Windows.
Make Linux Live Stick with another machine. Start with it, save data, reinstall Windows.
It was the same with me, only with the PC. My RAM (working memory) was damaged.