How does a UVM sequence change the transactions based on DUT Outputs

you can use reactive slaves technique to modify your UVM sequence based on the DUT output.