What is the easiest way to recognize foods contaminated with spoilage bacteria

What is the easiest way to recognize foods contaminated with spoilage bacteria