Avoid fads. Overdoses of this or that trendy food or supplement are surely a bad idea. Support healthy eating by daily outdoor exercise. Get more sleep than you have been getting recently.
I think almost everyone I know in the IT industry underestimate how important it is to get enough sleep.
Until you get older. I recently came to the realisation that I need three days to overcome the fatigue of a 3 hours night sleep. That means I can't afford a short night every week, else my productivity will drop dramatically.