I like to switch to an important task that's not directly related to what I usually do. For example, if you usually write code, what about looking at the tools you're using, cleaning up your email, tidying your office, or even connecting with other people to see if they need help.
For me, being unproductive is usually related to having an large, daunting task, not getting enough sleep, or being burnt out. Changing the context can get you moving which is the first step in getting back into it.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I like to switch to an important task that's not directly related to what I usually do. For example, if you usually write code, what about looking at the tools you're using, cleaning up your email, tidying your office, or even connecting with other people to see if they need help.
For me, being unproductive is usually related to having an large, daunting task, not getting enough sleep, or being burnt out. Changing the context can get you moving which is the first step in getting back into it.