Forgetfulness and memory issues lies in my family.
Please tell me a way to avoid it because I have started feeling I am forgetting a lot these days and it is hindering my studies as well. I am reciting ayatul kursi after every namaz, reading memory du’a after every namaz .
What can I do restore my brain to full potential? My cognitive functions are also compromised

Recite this dua:

سبحان من لا يعتدي على أهل مملكته، سبحان من لا يأخذ أهل الأرض بألوان العذاب، سبحان الرؤف الرحيم، اللهم اجعل لي في قلبي نورا وبصرا وفهما وعلما إنك على كل شئ قدير)