A discount reduces the price of an order with a code the customer enters, with an offer that applies automatically, or with a gift card. You create all three at Catalog → Discounts using the same form.
These are the steps you follow in the admin. The guide explains each one.
The help center covers every screen and setting.