He prefaces his remarks to set up the next scene with "This is how it goes..." or his remarks on the preceding action with "This is how it went...".
He introduces his remarks by stating "This is how it goes..." or he describes the preceding action as "This is how it went...".