Jim Cramer says investors should avoid buying stocks after the market's recent rally.