What to do with fermented lentils?
Throw it away, it's spoiled and probably contains several colonies of foodborne illnesses. Sealing food isn't sufficient to stop it going off, you need to refrigerate it or freeze it.