>>12940727Exercise is the most effective thing you can do, there are good indications of moderate exercise stimulating growth of capillaries in the brain and that it helps cognitive function.
No need to go overboard, just get your heart rate and blood-flow up for a sustained period of time several times a week.
For something you take, nicotine is pretty safe if you just take the nicotine (not via tobacco products), caffeine is also pretty standard.
For all of these the number one thing you need is willpower, you have to keep exercising and keep the nicotine and caffeine intake at a reasonable level.