I'm assuming your Windows is legal. That means you have a serial number, either on a DVD, or on a sticker inside the PC case, or among the paperwork you got with the PC. Back up your personal files, format the hard drive, reinstall Windows. The serial number should work again - you don't have to buy Windows again.