First, replace the word “inappropriate content” with “sin” and realize you are no more of a sinner than anyone else. inappropriate content/lust is just another weakness. Everyone has them, some are simply more visible than others. The people who categorize inappropriate content as some kind of a “super-sin” are those who don’t struggle with it.
Secondly, turn the problem over to God. Study his word and strive to be more like Jesus. It would also be helpful to get with a trusted Christian friend or pastor and share what you are going through. It’s easier to get through these struggles with support. There is also help for inappropriate content addiction. You can google about it.
Lastly, don’t get discouraged if you are not “cured” overnight. If you stumble, pray, repent, and start over.