Should you be timing the market?

Investors often try to pick the best time to buy shares, then worry they bought too early or too late. But is it really the best strategy?