If you are updating the position manually (e.g. modifying translate), then see here:
https://docs.godotengine.org/en/stable/tutorials/math/interpolation.html
If you are using using physics movement (move_and_collide) you probably want to adjust the physics body to be a capsule. Also don't use move_and_snap, especially on stairs.