Are you using the same HDMI port for all your devices, or switching between different ports?
The earlier answer's on the right track, but I'd actually push back a bit - this doesn't always point to Samsung's firmware. More often it's either a cable degradation issue or the TV getting confused about handshake protocols when devices have different resolutions or refresh rates. The QN90C is a solid TV and shouldn't be having this problem out of the box, so something's changed.
Before diving into settings, try this: swap out your HDMI cable for a new one (grab a certified high-speed cable, not the cheapest thing on Amazon). Sometimes the connectors get microscopically corroded or the shielding deteriorates, especially if cables are near heat sources or bent awkwardly. Also try using different HDMI ports on the TV itself - port 3 or 4 sometimes handles device switching better than ports 1 and 2 depending on the panel. If you're bouncing between, say, a Roku and a PlayStation, make sure both are updated to their latest firmware too.
If the cable swap and port rotation don't fix it, then reset the TV's HDMI settings. Go to Settings > General > HDMI settings and look for options like "HDMI Enhanced Format" or "Auto Input Change" - toggle these off and back on. If it's still acting up after that, Samsung's support can remotely check the HDMI module, and if it's within warranty they'll either fix it or replace the panel. But honestly, nine times out of ten it's the cable.