Hello Friend, Good that you are seeking a help. Memory related issues are symptoms of Anxiety. You may be over thinking about one particular issues and in that process you tend to ignore other things which in turn you feel as loosing memory..
Better to analyze and figure out the root cause for anxiety which should help you to address this issue. Take a counseling support to get yourself asseed first.
Next Steps
Feel free to reach out to me online through Practo app for further evaluation and recommendation.