Mold or black spots, change of color or a sour odor are clear indicators that your ricotta is off and no longer edible. Like most other dairy products, the rule of thumb is that if ricotta looks, smells and tastes alright, it is probably safe for consumption. However, when in doubt, it's best to throw it out to be on the safe side.