The questioner is saying, I have become afflicted with the [evil] habit of masturbation, [so] I ask you about the cure for it; [as] I am addicted to watching films and prohibited things.
The questioner is saying, I have become afflicted with the [evil] habit of masturbation, [so] I ask you about the cure for it; [as] I am addicted to watching films and prohibited things.