Go to Menu, then Pending Transactions. Choose Cancel to remove the order, or Cancel / Update to change it.

You can only cancel or change an order while it's still pending. Once it has executed, it can't be cancelled or reversed. To exit that position, you'd place a new trade.

Related: Pending orders & market-closed orders · How do I sell shares? · How do I buy shares?