All very true. Without diminishing this suggestion, though, I feel it's worth pointing out that some people can't just 'readjust their dopamine sensitivity' by changing some things in their environment. If you have chronic issues with regulating attention and they're strongly impacting you in multiple areas, seeing a professional could change your life.
I'd assumed from the context it was clear that I was referring to a psychiatrist.
It could also be worth talking first to a clinical psychologist. They're less about the drugs and more about the analysis, and sometimes that's able to get you working with just a 'software patch.' Sometimes, though, when you've tried everything and your brain still isn't doing the thing, medication can be absolutely lifechanging.
As the saying goes, if you can't make your own neurotransmitters, store bought is fine.
I actively disrecommend talking to a psychologist. If you suspect ADHD, the first-line treatment is getting stimulant therapy via a psychiatrist. Understanding and talking about your problem does not fix it. They've studied this, it's simply an ineffective treatment for ADHD. People go from being distracted all the time without understanding why to being distracted all the time with tools and techniques they don't actually end up using.
Stimulant therapy, on the other hand, is effective to a degree that every other mental health intervention wishes it could be. I am a relatively conscientious high performing software developer with medication, and borderline unemployable without it. Night and day difference.
Therapy and education is more appropriate for the people around the ADHD patient. Getting a sense of empathy for their situation and learning how to generate an effective context for them to operate in is incredibly valuable.