What is the meaning of [a man who is his own lawyer has a fool for his client]

It is not wise to act as your own attorney in a court of law, or in some other legal process; also used in other fields of activity requiring professional expertise or objectivity.