According to MW, "stand back" means to take a few steps backward while "stand by" means to be or to get ready to act.