Both methods can work, but it often depends on the type of sharpening tool you're using. When using a whetstone, you generally push the knife away from you as if you're trying to cut a thin slice off the top of the stone. If you're using a honing rod or a pull-through knife sharpener, you usually pull the knife towards you. The most important aspect is to maintain a consistent angle between the blade and the sharpener.