First, you need to clear your worrying mind by watching it – watch the feeling of worry, anxiety and not liking. You watch without thinking because if you think it will keep growing; so, no thinking, just watch the feeling, the feeling calms down.
When the feeling is not there, when you are not worrying, then you need to think about what you should do.
Doing something because you’re worried, or doing something because you’re disliking it, is following the defilement. But if you can be clear of the defilement, then you can decide what you should do. Maybe you can move away; then you move away with a clear mind, knowing that this is what is necessary.