Meditation is a long-term solution to training your focus/mind like a muscle to let go of cravings and focus at will. It’s a slow process that takes daily practice but years down the line, you’ll be 100x further along. I’d suggest startjng with the headspace app for no more than 10 minute sessions until you get 2 months of daily practice clocked before you start to see a subtle but real shift in your focus emerge. Its not going to be profound but its more or less ingrajned jnto your neurology so the benefit will stick. Its seriously alot like working out to create the adaptation and there are no shortcuts.
Another issue is dopamine addiction. Thats where the no-fap/anti-porn movement comes from or all of the stuff regarding internet/gaming/social media addiction and people trying to unplug. We’re in the age of instant satisfaction that can feel super empty causing a bad cycle which is why I imagine you wrote this post. I dont have anything against any of those activities but the problem is when you do it compulsively to feel better because you don’t feel good enough without it. It’s totally different if you choose it because it’s a passion or authentic life experience or otherwise ties to your growth/purpose/life experience. No easy fix here. Some of it is bad habits, the rest of it is dealing with the feelings that you’re escaping from. Keep in mind, this is at the core of nearly all addiction. My advice: grow! Go travel, bust out of your comfort zone, push your edge. If you need a rush, if you want to escape, at least let it be something that gives fulfillment. Fulfillment, (certainly not escape and not event achievement), satisfies that craving for longer than a brief moment.
The last point I’ll make is about ADD, ADHD. These are labels, the DSM wants to categorize you as damaged goods. It’s bullshit. Undeveloped impulse control is not a disease, it’s just a stage, a mark on a spectrum. I get pissed off when I see Doctors push it as an identity and turn it into shame and some lifelong condition they feel the need to manage with drugs and treatments. It’s not cancer. You’re normal.
Hope this helps.