How do I avoid Windows Defender compatibility issues?

How do I avoid Windows Defender compatibility issues?