When you fail an engine block the opposite rudder.
For example, if you fail the left engine put a little pressure on the right pedal, not enough to move it, but enough to prevent it from moving after. So if your student pushes the wrong rudder your foot will be there to stop it.