I have some peace in this area. I use a 12 step program as a recovery tool. These steps allow me to focus on God and lead my thoughts back to him. If you have any questions or would like to discuss, please feel free to ask. Porn and masturbation are not the core problem ( they are sin). The problem is lust. I ask you brothers and sisters: why do you do these things? Or what motivates you to do so? I look forward to your answers.