There is a memory-enhancing pill. It is just a placebo, but you must remember to take it once a day.
I did not seek out a refill for that prescription. Of course, YMMV. But first, make sure your sleep, diet, and exercise are sources of strength, not weakness. Try to unplug & spend a bit more time alone with your mind each day.
It does give you terrible nausea if you take it with the wrong foods.