>>1539640 (OP)
uninstall any social media apps you may have, and silence notifications/keep your phone in manner mode as much as possible.
also, try doing a reset on your dopamine receptors. Saw the idea in a video yesterday and it seems good; Basically you do a few things: Any given task, only do one at a time (ie. if eating, do nothing else but eating until done). Take breaks from work/etc. by doing something incredibly boring rather than something stimulating (literally staring at a wall is a good example). Doing things like this slowly takes your dopamine needs down and helps make less addicting behaviors feel more rewarding again.
It may be tough, but when home/etc. leave your phone in another room. I mentioned manner mode, I usually keep my phone in that, and have a few contacts starred so that if they message or call, I get the notice anyway. 99% of notifications are bullshit; Treat them like spam email and mute/unsub as many as possible.
look up any and all ADHD helping software for phones. I use several of these on websites that are otherwise obnoxiously distracting. For example, use noscript and ublock origin and you can disable a ton of bad ads that distract you. For youtube there is this addon that blocks the home screen and replaces it with a photograph. I can't recall what it is as its not on this machine, but you can also go to youtube using youtube.com/adpidjfdf or any other gibberish, and it will take you to a 404 page that only has a search bar. It's way better than trying to use the default youtube homepage which inevitably is nothing but clickbait bullshit.
I'd also say just leave your phone at home more often. You may find that you don't actually need it as much as you think you do.