What I usually do is set time goals instead of tasks goals and start working, slowly, with no pressure. After each working period, I do a little break and then go back to work. I do not focus on the outcome but in working, and slowly I start to get momentum. I think the most important thing is to be gentle with yourself and not be very demanding, just try to work no matter how productive you are. Slowly your focus will be coming back.
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.
What I usually do is set time goals instead of tasks goals and start working, slowly, with no pressure. After each working period, I do a little break and then go back to work. I do not focus on the outcome but in working, and slowly I start to get momentum. I think the most important thing is to be gentle with yourself and not be very demanding, just try to work no matter how productive you are. Slowly your focus will be coming back.