One cancels the other, so two trading orders placed at the same time, while the first one that get's filled, automatically cancels the other one.