Discounts can only be added during checkout and cannot be applied after an order is placed.
During checkout, you click on the "Show order summary" button. That will bring up a list of items on the order as well as a discount code box. You can type in the code there and apply it to your order before checking out.