OEM would be the best since it's usually half the price of the Retail. The only major difference being that it doesnt come with the fancy box.
Upgrade is if you already have an OS, and just want to upgrade, but I would buy the retail/oem, otherwise if you need to reformat you would have to install XP first.