Yuanyuan told Di Fuyi that she had to carry him with the puppet strings that she created. When they were finally in a safe place, she got a carriage and transported him into the Devil Kingdom.
Most of Di Fuyi's injuries were internal, and fortunately, his body had the special ability to heal itself. Hence, Yuanyuan did not actually need to nurse him back to health. She was physically by his side, but could not do anything, as she was not able to get any closer.
Di Fuyi remembered looking at Yuanyuan the moment he woke up and saw how relieved she was that he was awake. She wanted to treat his injuries and take him to the doctor earlier, but all her intentions could not be realized because no one was allowed to get close to him. By the time he was awake, most of his injuries had already healed.