Arduino Nano Code not uploading

If it's a Nano clone, dollars to donuts it has a CH340 USB chip on it, and being Windows, that means problems with the CH340 driver version. Since the Great Linux Revolution of 2000ish, the only windows in my house look outside, so I can't help you with that. But a brief search on the forum turned up this reply from @ptillisch which may be of some help. But be warned, it's a bit of a read!