Working on a robot, need some help with the coding aspect

Do you want to stop the code or stop the robot?