Change of scenery is one of the main ones. I change constantly & work everywhere (some very crazy) but like Ben mentions in dev.to/ben/the-best-remote-work-is... you can break flow if not careful.
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 it's a one off day, I try to recognize it immediately and give myself some guilt free relax time and not think about it.
If it's something that needs done, all of what Vuild said is great. Mine is change of scenery or sensory input (music, room, chair, etc)
Change of scenery is one of the main ones. I change constantly & work everywhere (some very crazy) but like Ben mentions in dev.to/ben/the-best-remote-work-is... you can break flow if not careful.