Advanced Medical Directive(AMD)

What will you do if you have the power to decide letting a person’s heartbeat to go on beating and let him live or to stop the heart beat and let him die?