NTT DATA interview question

Explain how to avoid recursion in Trigger context.