A mental health therapist who you see to get your wig fixed, i.e. the troubles in your head straightened out. A psychologist, psychiatrist, shrink, etc.
"You better see a wig mechanic when you get out of here. You got real problems." - Lester Dixon, novel Lay Down My Sword and Shield (1971) by James Lee Burke