By no means do I have medical knowledge or am saying drugs should not be used (if your doctor found some sort of chemical or biology imbalance in your brain) but generally drugs are only a
coping mechanism and generally do not solve the problem. I am not religious but heard that the Rambam (great Jewish sage and doctor) said to only use medicine
when absolutly necessary. I think this applicable to this day. All to often, lax doctors proscribe anti-depressants and other psychotic drugs to people who don't really need them or do not have any sort mental disorder. For instance, my sister told me her friends are being proscribed anti-depressants because they feel "lonely" at school. Now when I grew up I had very few friends, felt sad at school sometimes, and fell like the whole world was messed up (probably is
) but aren't these regular experiences and emotions we endure help us define who we are and how we interpret the world around us? If you lost in a sport you worked so hard for would you feel happy or sad. Of course you'll feel sad but are you now going to take steroids to get better or work on your skills? We all have a choice and that is what Hashem has granted us with. Unfortunately, in our case, we chose to view pornography instead of utilizing our feeling in a proper constructive way. It doesn't have to be used strictly for martial relations either. Maybe one constructive example would be to work on treating individuals in a better ways, etc.
Any psychological problem is caused but your conscious telling you have done something wrong and need to fix it. Until you have figured out how to fix that problem your conscious will never be satisfied. Take a thief for example. If he is decent man with some set of morals he will feel guilty for his crime and likely go to bed restlessly at night. He may become an alcoholic, smoke recreational drugs, sleep with lots of women, or even buy expensive gifts with the stolen money. In the end though, he will always feel guilty as he didn't do anything to change his ways. Now I am not saying you shouldn't be using your meds (if your doctor says you ABSOLUTELY need them then use them) but ask yourself ..has these medications every really made a difference in my life? I would feel good for the first 8 hours after I took this pill but I would still end up feeling bad myself. What should I do? Going back to the thief example the easy solution for him would just return the money anonymously and vow never to commit the crime again. Now with viewing pornography it is different because it is something you can't simply get rid of by a "one day act of righteous". Although I haven't beat my porn addiction yet I can say every action taking to avoid the porn greatly increases chances of breaking free. It would be like the thief, slowly recovering the stolen money he squandered on things and slowly repaying back what he had stole. The best part of being able to beat the addiction is that you can say "wow, I look at what I accomplished and when I encounter this problem again (lets say a trigger from racy billboard on the highway) I'll know how to handle it".
I myself suffer from anxiety and OCD which both my campus and family doctor said I have. However, they did not proscribe me medication and have referred me to various counselors and psychologists for help. I can honestly say they really helped a lot than before I saw them. To this day, I have not taken psychotic medication to elevate my anxiety or OCD (unrelated to my porn addiction but an example nonetheless) and have successfully reduced many of my past fears and rituals. But that is just my story and I am not hear to brag. Best of luck!