The first law is that a robot shall not harm a human, or by inaction allow a human to come to harm.
The second law is that a robot shall obey any instruction given to it by a human
The third law is that a robot shall avoid actions or situations that could cause it to come to harm itself.
Isaac Asimov´s laws