welcome to healthcare magic forum..
There are various reasons for lose of memory in old age the most common being Alzheimers disease. You need to consult a neurologist
and discuss him about further management about your condition. In the mean time please be careful and avoid being alone, walking alone.
Hope this helps.