"He or she discovers" is correct. "A writer" is singular--
one writer. The singular pronouns are "he or she." To agree with a
singular noun or pronoun, the verb usually ends in -s.
When a writer writes from personal experience, he or she
discovers a great deal to say.