Whenever your stock price goes higher than your buying price you can sell your stock, It totally depends on you how much profit you want to book 20%, 30%, or 40%.