How to Render Someone Unconscious?

I am not sure why you would need to render someone unconscious unless they were attacking you or something like that. If you are trying to protect yourself, hitting them in the head would be justified. Otherwise, there is no reason to make someone unconscious (unless they were in surgery, in which case they use anesthesia).