You can redeem xbox live gold membership codes in 2 easy ways.
1. Redeem the code through the Xbox website
1. Go to http://xbox.com and sign in
2. Go to http://live.xbox.com/redeemtoken and click on Redeem.
3. Enter your code and you will be done.
2. Redeem the code on your Xbox console
1. Sign in Xbox live account by pressing the guide button and navigate the menus.
2. Select the option Redeem code, and then enter the code you just purchased.
Xbox Live Gold Membership gives you 2 free games each month(for Xbox One) and substantial discounts on the latest games.