My life is one long string of latching-ons, it sometimes feels like. Often at the expense of everything else.
I can't give any recommendations as far as medication goes, but for me personally this has helped:
1. therapy (or perhaps a coach) to help me jump out of my obsessions, reframe the way I see things, etc.
2. to some extent, leaning into it with a stoic/nihilistic/buddhist perspective. Basically, I get obsessed about things, sometimes these are worrying things, but instead of letting my obsession lead to depression, by reframing it as this thing that ultimately doesn't matter to me (even if it does, somehow), but also this thing I cannot stop obsessing over, it loses at least some of it's power and becomes just another obsessive 'hobby'.
So, for example, I'm obsessively following the current crisis. That is probably not very healthy to do, so I do try to not let it control my days. But practically speaking often that doesn't work. So I 'lean into it'.
I try to apply the stoic 'dichotomy of control' ("to identify and separate matters so that I can say clearly to myself which are externals not under my control, and which have to do with the choices I actually control"). I consider who in my surroundings I can legitimately worry about, and how I can help them (parents, calling them in their isolation, etc.).
I try to apply the stoic idea of negative visualization: what if I get infected, or a loved one does? how would I deal with it. like, in detail and practically. how would I feel about it in a few years? what, if anything, could result from that that is positive? Bittersweet at best?
I try to apply the zen/buddhist/(nihilist) thoughts: what does any of it matter anyways? what can I do today, or right now, that feels like a good thing to do, without the what-ifs and buts. I can do the dishes. I can listen to a corona-centered podcast while I do it if I feel like, but at least I can do the dishes. or send a message to a friend abroad and ask them how things are (just reminded myself and did this while I'm writing this comment).
None of this solves anything, but I find it can often help. And the better I can help myself deal with these obsessions and anxieties (or panic), the more useful I can be to others. or at least less pointlessly destructive to myself.