When not to buy shares