Jim Cramer advises investors to take a case-by-case approach to stocks