If you want to restore Windows as it was when your netbook was new, use the Factory Recovery feature but back up your data first to an external USB hard drive or to a pen drive (although the latter is not recommended for long term storage).
Factory Recovery procedure depends on the make & model of the netbook.