B vitamins, like B6, B12, and B9 (folic acid), help the brain. But if you’re not lacking in these or pregnant, extra vitamins won’t help much. Foods like leafy greens are best for getting your B vitamins.