Most common cause of loss of memory is due to Alzheimer's disease .It may also be due to vitamin B12 deficiency, hypothyroidism, hypoglycemia, tumors, chronic alcoholism, or drug abuse. Consult doctor.
Eating a balanced diet and staying active will help a lot. Also good general health, and socialization is important for any form of dementia.
Most important try to be patient and supportive.