Only activate your trainer when playing the Single-Player Campaign or Local Offline Zombies.
Because trainers inject code into another running program's memory, your antivirus software or Windows Defender will almost always flag them as a "False Positive" (often labeling them as a Trojan or Riskware).