If every game you play crashes when you use cheat codes but runs smoothly for days when you do not, that pattern is a strong clue in itself.
Cheat codes and third-party cheat tools often conflict with a game's normal code, pushing it into states the developers never intended. That can easily cause instability and crashes. The simplest fix is straightforward: avoid cheating. Playing games the way they were designed to run keeps them stable, and you get to enjoy the experience without sudden crashes interrupting your progress.