Take a six month break from computers and the Internet. If you absolutely must, you can check your e-mail once a week, but no further tech than that. During those six months you can vacation (if you saved up some money during your years of coding), or, if you need money to get by, you could work some menial job. After six months, if you feel up to it, you could decide to return to the field of software development. However, I hope you'll resolve to never again work as a software developer for peanuts. It's mentally taxing work that ought to provide you with plenty of money.