Its not a memory loss. Its an impairment in attention and concentration. Yes it can be treated. Some memory exercises will help you doing that. We need to address other issues, if any, causing such difficulties in sustaining attention. Do not be so anxious about it. Consult an appropriate person for help. Psychological interventions will help you.
Next Steps
consult a registered clinical psychologist