Never buy used games because the product key can only be used once to register the game.
If you can contact the seller and request your money back. If you purchased it with your credit card, then perhaps you can call your credit card company to try to dispute the charge. Otherwise.... consider this as a "cost of education".