Investing in the stock market can seem daunting, but with a little knowledge, you can become a confident investor.