I use https://freedom.to/ to block HN on my phone and laptop when I need to.
That way I have enough time to think and question whether I really want to open the page I was about to open, and I don't disable the whole thing if I actually need to visit it.