I turn off all notifications & just check from time to time. I have a project manager who tends to pester me with DMs a little too much, but if I'm trying to concentrate I just turn it off.
I'm 50 years old & still "pre-internet" in much of my thinking, but I don't have a smartphone, turn off ALL notifications and then turn them on one-by-one on a need only basis, and still can't figure out why people have so much trouble managing their internet lives.
It's not the tool that's causing your problems.