The question needs a bit more detail to answer properly — which code, and where you found it? Broadly speaking, promo codes are redeemed either from the game's account or store menu, or through the official website's code page, so start there.