Salmonella infection is highly influenced by your cooking method, but the age of the mushrooms can only make matters worse. To avoid getting sick from your mushrooms, keep track of how long they've been in the fridge, store them safely with proper care, and throw them out if they become slimy, smelly, wrinkly, or darker in color.