A robot and a method for controlling the robot are provided. The robot may be a wearable robot that may be worn by or removed from the body of the user, and may support the movement of the body of the user. The robot may include a controller, a sensing unit configured to sense a position and pose of a user and transmit the sensed position and pose to the controller, and an actuator configured to receive a command from the controller, operate, and move positions of joints of the robot. The controller may generate motion trajectories of the joints of the robot in order to move the joints of the robot to be arranged at positions of the corresponding joints of the user, based on information on the position and pose of the user received from the sensing unit. The robot system may transmit and receive a wireless signal over a mobile communication network based on 5G communication technologies.