Try an app like headspace, the free 10 sessions were a great help for me.
The 5 minute journal is also a good way to get some perspective.
Having something non computer like hiking or gardening I find also helps.
If its really bad, a vacation to some country with a vastly different culture helps.