OK what do I need to do to redo everything
Redo everything? If you mean starting from the scratch to the point when you first booted your computer, there might be two or even three choices:
1) Since your computer is still working, check the Start menu or its Win8 equivalent for a folder named Recovery. If you haven't created the recovery disks, do it now! You'll never know when you might need them. After that, there might be an option to start the recovery process from within Windows. Click and follow the orders.
2) If the recovery can't be started from within Windows, look for the manual for the startup button combination for recovery. Or do a Google search for "<Brand and model> recovery/reinstall". You'd soon find out whether you should press F8, F9, F10, F11 or F12, with or without Ctrl, Alt or Shift right after booting the computer.
3) If neither of the above works, but you have created the Recovery DVD set, put disk #1 into the optical reader and boot your computer from the cd. You might need to change the startup device order either from BIOS or by pressing Esc, F11 or some other button to do that. Again, RTFM.