when to invest in share market