You should always decide when to sell before you buy a stock. For example, if you buy £1000 worth of Microsoft shares and decide to sell once they grow by 10%, then that is when you should sell.