Some discount codes (i.e. those in Abandoned Basket emails) are automatically applied to your shopping basket so you do not have to do anything to receive your discount. For all others, you just have to enter the code during the checkout process - look for the box called "Gift Card or Discount Code".