If it smells funky (cheesy or foul) or there is any mold in it then it is important you don't eat it. Discard or compost it.