If it is feasible for you, I suggest you consider finding a wife. I used to struggle with this issue, as many men do. I was able to get it under control as I was in the process of joining the Orthodox Church. And then around that time I met my future wife, and I knew I could no longer look at that garbage as it was effectively the same as commiting adultery. Then once we were married I no longer needed or wanted to, and haven't ever since.
Now I feel deep regret for all the years I wasted because I had no idea what I was missing, as well as for offending Christ, but at least I know He will forgive. For real though, a good woman who properly takes care of your needs will make it 10000x easier to quit. At least in my own experience. Then instead of feeling guilty you can be happy and carefree because your marital relations are blessed by God. There is no better feeling in this world than enjoying that miracle together while knowing you are justified.
It's also a good idea imho to cut out secular music and media, or really unhealthy and pleasurable food and drink, or whatever things really stoke your passions. For example if you're someone who gets a little drunk and suddenly eats a lot a unhealthy food, or does drugs, or is tempted to have sex outside of marriage, etc; if you address the causes it can really help. However don't go overboard because if it isn't sustainable you'll probably fail and then be worse off than before. I'ts the same idea as a crash diet vs a long term sustainable eating plan, with some splurges allowed.
I will pray for you brother. Keep working, and pray to God for help. You'll figure it out!
In Christ,
SoC
Edit: Here is some spiritual wisdom in case you may find it helpful.
1 Cor. 7:8–9: “To the unmarried and the widows I say that it is good for them to remain single as I am, but if they cannot exercise self-control, they should marry. For
it is better to marry than to burn with passion.”
St. John Chrysostom (
On Virginity, ch. 10): “Marriage is not forbidden, but virginity is preferable.
Marriage is good for those who are not able to practice virginity, for it guards them from fornication.”
St. Gregory of Nyssa (
On Virginity, prologue): “Virginity is a life of angels but
marriage is honorable, since it was instituted by God, and is a remedy for weakness.”