Firstly, some backstory
In a galaxy far far away, Kylo Sorsha was a prince of the Royal House of Sorsha in the Drashani Empire. He was also a pyrokinetic, To end a civil war, he was pledged to marry Princess Aliona of the rival Royal House of Gadarel. However, he found out that she had agreed to the marriage to get the chance to assassinate him and his royal family, using pheromones to manipulate his own emotions. The plan failed due to the intervention of the doctor and she was killed. However, Kylo's hand was severed and he was stranded on Sharnax, presumed dead He lived on Sharnax for more than 25 years. However, Sharnax's atmosphere was mildly acidic, and after spending so long on the planet, he became hideously disfigured.
Now, prince kaylo swore he take revenge, he managed to genetically engineer a new army called the wrath and launche a galactic conquest, but the doctor stopped and reprogrammed the wrath to become a force for good by using his own moral code as a template for their future behaviour. However, they had taken this new morality to the extreme and were attacking everyone for any perceived sin.
So now return to the plan, which might be a little bit confusing due to amount of time travel done in it, but I'll number the paragraphs to make it clear
If you want to know it in chronological order, read in the order 1 to 13
If you want it to know it in the perspective of the doctor, read in the order 7-8-10-1-2-3-11-12-9-4-5-6-13
1-It started when two galactic salvagers talbar and horval doing a trade on a bar on planet temperance 7 then the tardis materialize in the bar, the doctor get out with an energy blast marks on his chest, he went directly to talbar and horval, asking for help before collapsing, and ofcourse they take him assuming he us somecm rich person from his tardis, after they nurse him to health, the doctor appears to knows who they are, he convinces them that he worth a lot, but he then got captured by one vienna Salvadory, a bounty hunteress
2-He knew he will be captured, she used a machine to scan his memories of a specific info, about the location of prince kylo, who he knew and she knew, the doctor also shown her a memory from his past, and her future of her meeting him, and when and couldn't know more because the doctor the whole time was only showing her what he wants her to know, he also learned whose her employer, the wrath warrior ,later he was rescued by talbar and horval, who attached a tracking device to him which he noticed from the beginning,
3-Vienna later reported to the wrath warrior who invaded the planet looking for the doctor who departed from talbar and horval, he went to his tardis which Vienna knew will be thier, but the doctor was saved by a masked mercenary called shandor who knew the doctor but the doctor didn't know him,

