Medical ethics is the set of ethical rules that medical doctors follow. These ethics guide doctors as to how they should treat patients.
The earliest set of ethical ideas in medicine was the Hippocratic oath (an oath is an important promise). It was supposed to be written by Hippocrates.