When used alone or following a proper name, most titles are not capitalized. One common exception is the word president, which many writers capitalize whenever it refers to the President of the United States.
Professor Django Paris | my history professor |
Dr. Teresa Ramirez | Teresa Ramirez, our doctor |