If you reformatted the pc then turned it off and re booted it will have lost its cd rom drivers so it cannot read the windows cd. You need to make a boot floppy with the cd drivers on and boot from it.
 The secret is don't restart the pc after you do a format!
 Older computers cannot be booted from the cd drive either.