The past tense of teach a lesson is taught a lesson.
The third-person singular simple present indicative form of teach a lesson is teaches a lesson.
The present participle of teach a lesson is teaching a lesson.
The past participle of teach a lesson is taught a lesson.