Here's how it works:
* Use a comma after each title before the person's name.
* Don't use a comma after the person's name.
Example:
* Correct: The Reverend Dr. Smith will be speaking at the conference.
* Incorrect: The Reverend, Dr. Smith will be speaking at the conference.
Reasoning:
This is a matter of style and clarity. The commas help to distinguish the titles from the person's name. They also make the sentence easier to read and understand.