strategies to invest in the stock market