Sleep, Diet, and Exercise. That's it buddy. There's no "tricks." If you don't get enough sleep you start building up beta-amyloid which is implicated in Alzheimers disease.
Diet. Protein and Fat. Meat and vegetables. Avoid processed. I like a diet high in nitrates, but also dark leafy greens, cruciferous vegetables for their positive hormonal effects. So I eat a lot of the following (all raw):
These are my go to for veggies. Nitrates are good because they get converted into nitrous oxide which expands your blood vessels. For meat I eat a lot of pork, beef, and chicken. Beef is considered one of if the not the most nutrient dense foods you can eat. High in B-vitamins, fat, and protein. If you're looking to reduce inflammation, chicken fat tends to be higher in arachidonic acid which is a precursor to anandamide which has anti-inflammatory effects. Probably where the whole chicken soup when you're sick comes from.
Exercise. Physical exercise is what keeps you sharp. You can have a great diet and sleep regimen, but without physical exercise you're essentially just throwing high octane fuel into a shitty, run down car. Physical exercise also increases anadamide which helps you tolerate stress better, increases BDNF which improves your memory, and also increases nitrous oxide which like I said before expands your blood vessels which has a nice "amplifying" effect.
Then there's mental exercise. If it's a waste to eat and sleep well without exercising, then it's also a waste to not challenge your mind while doing all of the latter. Mental arithmetic problems are great, logic puzzles are good, reading is good too, but writing is even better. Reflecting on your thoughts, and keeping a journal of your thoughts.
And lastly, make sure you know why you are doing all of this. You need something potent to keep you motivated when you're feeling down and not following your plan.