Stock market how to invest profitably