After having tried magnitude of supplements that I read about on this forum and in other places I finally found something that really works. The miracle drug is doxepin. It is an old tricyclic antidepressant that has one property that really help my case of pois - it is very anti-inflamatory. It makes brain fog after fapping much less severe and it goes away much quicker than before. Before using doxepin I had terrible brainfog that took about a week to disappear. I could not learn, read a book or even watch a movie. Now with doxepin brainfog clears in like maybe one day and is much less severe.
I'm a masturbation addict. I do it many times a day, almost everyday. The reason why I think I get a brainfog is persistent overstimulation of my brain with very long and intense masturbation sessions which at times make me feel like I'm drugged, very intense pleasure. My brain is probably also more sensitive than the average. Sometimes even one intense masturbation session can result in severe brain fog and concentration problems and when I do it multiple times per day I feel like a zombie, completely drained and exhausted. I get brain fog even without ejaculation. I tried masturbating without ejaculation for a few days and I still experienced it.
I'm still trying to give up fapping addiction but it is extremely difficult to me. I gave up alcohol, I gave up smoking, but this habit is in completely different league in terms of difficulty to quit. So while I cannot say doxepin solved my main problem it definitely made living with it much more bearable.
Try it if you can get it, maybe for some of you it will work like it did for me.