If this feeling is new you might have a chemical imbalance. When I was about 35 yrs old my thinking capabilities went to hell. I couldn't concentrate and my ability to receive knowledge and build on it was gone.
I went to my family practitioner and he put me on Anti-depress meds.
It was caused by stress due to family illness's working long hours. I would talk to a close friend and your doctor honey