Porn addiction problem

Whenever sex comes up i turn to porn and I don’t want to watch it anymore as I know it’s not helpful to me. Or masturbating..I want to try semen retention as I’ve been reading about it and I’m wondering have others done this.