The past tense of show someone the error of their ways is showed someone the error of their ways.
The third-person singular simple present indicative form of show someone the error of their ways is shows someone the error of their ways.
The present participle of show someone the error of their ways is showing someone the error of their ways.
The past participle of show someone the error of their ways is shown someone the error of their ways.