What to do about members who consistantly give wrong advice?

First thing that came in my mind was that I have given some incorrect answers or code with errors too, which were corrected by others.
Most of the time I adjusted my answers / code with an apology or I let the code as is and posted new improved (with better errors:) to show how progress is made.
In short I act upon corrections.

Think if someone does not react on corrections I would start sending PM to the account to discuss the situation and to help him/her to improve his/her answers.

If I would get a PM for every wrong answer I would think twice before I posted something I was not sure of. But if it would help for him/her?