If you're forced into stopping work before a natural ending point, make a TODO list and put it somewhere you'll check when you get back. This will help you to more quickly get back into the flow of where you were before you left. If it's a complex problem it's possible your subconscious will keep processing it while you consciously focus on other weekend-related things. Personally in these situations I find myself consciously focusing on work-related problems when I'm about to go to sleep. If that happens, try and write down any revelations and that should help get past thinking about it too much.
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.
If you're forced into stopping work before a natural ending point, make a TODO list and put it somewhere you'll check when you get back. This will help you to more quickly get back into the flow of where you were before you left. If it's a complex problem it's possible your subconscious will keep processing it while you consciously focus on other weekend-related things. Personally in these situations I find myself consciously focusing on work-related problems when I'm about to go to sleep. If that happens, try and write down any revelations and that should help get past thinking about it too much.