I have similar issues. Recently my conversation with myself around this has shifted from "how do I fix the dysfunction" to "how do I reroute around, and build systems that compensate for it?"
Research ADHD. Those are both symptoms. If you have it then medication is likely to help
I’m bipolar and medication doesn’t fix everything.