It should say right on the label what OS is that key for (i.e., it should say Windows XP Professional OEM, for example).
After you read what OS/version you need, go ahead and buy a disk or download an ISO from MS or a retailer.
Alternatively, you can contact the manufacturer for a backup copy of the system disks.