Hello
Concentration might also be affected due to distraction as you mentioned pornography. There are many techniques which can be used to stimulate brain parts involved in various cognitive processes such as memory and attention. Try consulting a clinical psychologist for enhancement of the abilities and got over with the addiction as well.
Next Steps
consult a clinical psychologist
Health Tips
deep breathing exercises, restrict from porn watching