If this is a store bought computer, they usually have a recovery partition that you boot into and it reinstalls windows. However, sometimes you need a recovery cd in addition to the recovery partition. If this is a custom built pc then find someone who has the same operating system you do and use their cd to install but use YOUR cd key.