How to redeem a Steam code.
Steam Client & Steam Account
Launch Steam Client
Launch the Steam client and login to your Steam account.
Click the games drop down menu in the top left then choose “activate a product on Steam”
Follow the onscreen instructions to complete the process and add the game to your Steam library.