If your discount does not work it's possible that you have added items to your cart that either already have a discount or have a free gift with them. Only one discount or free gift may be used at a time.
If it still does not work, it may be a one-time discount code that you have already used before and therefore cannot reuse.