What would you do if you noticed a team member's code quality declining?

Situational