There are two methods that I have had ongoing success with. Peeling them after they have sat in an ice bath for a while but still warm gives the best results because the shells come off more easily. Chilled eggs don’t peel as smoothly. Rolling them on the counter before peeling them to crackle the shell also helps the shell come off cleanly. Peeling them while submerged under cold water in a bowl (or running water, but that’s kind of wasteful) is another trick for getting the shells off easily.