Log in to your Battle.net account page and use the option to add a game time or redeem a code, then enter the number from your time card.
Once it's accepted, the account is converted from a trial to a full subscription and the content restrictions lift. Time cards are region-locked, so the card has to match the region your account was created in.