Handling non-programming co-worker's programming?

How can you effectively handle situations where your non-programming co-worker attempts to engage in programming-related tasks or discussions, but requires correction or guidance to ensure accurate information and practices are maintained?