What is the best way to sharpen a knife without a sharpener?

I use sand paper of diffrent grits attached to a paint stirrer and it works great! I learned this trick from a guy who is a professional wood-worker.