How to block porn on my phone?

For comprehensive filtering, you might want to look at Xnspy. It’s more thorough than basic phone settings because it monitors everything, not just browser activity. The nice thing is that it works in the background.
So, there’s less temptation to just turn it off when things get difficult. Pretty effective if you’re serious about this.