Keep one hand on the handle, and one hand on the top of the blade, but not the sharp part.
Another safe way is to use the knuckles on your left hand to guide the knife, keeping all your fingers angled AWAY from the blade, and use your right hand to do the chopping motion. You can reverse this second one if you're left-handed tho