Investing in the sharemarket: what you need to know