No matter where you choose to invest, a long-term outlook is key to maximizing your earnings in the stock market.