Usually memory problems don't occur in young people,it is a disease of elderly and with family of neurodegenerative disorders. But rarely sometimes can occur in young people also.usually in young working people due to inattention and stressors.but if u think it is interfering with your day to day activities then needs to seen personally. Also need to rule out
vitamin b12 deficiency and other reversible causes.
Relaxation exercises, meditation.
Daily exercise. Healthy lifestyle.
Don't worry.