For as long as i could remember i’ve had the problem of not being able to lower my gaze online and searching up and indulging haram content. I’ve tried many things, reached out to friends, to keep myself accountable read hadiths on the matter, tried to increase my dhikr in Allah. When I do the sin, I seek tawbeh and try not to do it again. I’ve even blocked the content on my phone but i still find ways around so I ask you. What is the best thing to do in this situation to remove this sin from my life?

You have to repent to Allah.
Keep yourself occupied. Don’t treat the act lightly. Make consequences for yourself each time you sin, for example fasting for 3 days. That way you would think twice before committing anything.
Don’t sit alone.
Ask Allah for guidance and help.