Your answer suggests that you may be depressed or anxious. Depression and anxiety can have a major effect on memory. Depression and anxiety also make it harder to concentrate, so it is harder to learn and remember new things.
Both depression and anxiety are treatable conditions. If you think you may have one of these, talk with your doctor or with a mental health professional.