The same way — instruct your stockbroker to sell. How quickly a sale happens depends on whether there is a buyer at your price.