When you are about to place an order to sell a stock you have the option to sell when the stock price decreases. You will then be asked to set a maximum amount you are willing to pay. This means your order will only be executed when the price of the stock you are about to sell is at or below the amount you specified.
This type of order is called a Stop Order.