How to take profit in stock market