Outcome data of test

Hi

I programmed a Stroop task to use for my PhD as a mental fatigue task but I would like to make it a bit more complex by mixing it with a switch task (every two words the subjects need to change strategy) does anyone know how I can do that ?
Also how do I get the outcome of the test like correct answers given and the time subjects needed to press the button after stimulus onset?

Thank you for your help!

Kindly
Jil