Honestly... I don't know anything about this.

I can't say as it is a problem I've ever had. One thing I do find is that when I try to focus intently on something I'm trying to accomplish I tend to become somewhat dizzy & disoriented. I have Meniere's Disease (a condition of the inner ear.) And sometimes I've thought, perhaps, it has something to do with that. But I also experience quite a bit of generalized anxiety. And that could also be the culprit.

(I'm not on any medications of any sort at all.)
Anyway... my thinking is perhaps what you're experiencing is a symptom of anxiety?

You mentioned meditation. My personal opinion is that meditation isn't a cure for anything. It's a practice one follows over the course of a lifetime (ideally). And, as the years go by, it can help with things such as anxiety & depression. But it's not a cure... especially over the short term.
What's most effective, in terms of dealing with anxiety & depression, as far as I'm concerned, is regular & consistent physical exercise in one form or another. There are lots of different options available, depending on your interests & abilities. And even if it doesn't resolve the particular problem you addressed in your post, it's still a great idea just in terms of your overall level of both physical & psychological health. My best wishes to you...