"Dr." is an abbreviation for "doctor", and either can be used in most situations. However, it is not idiomatic to say, eg, "Frank is a Dr. at Memorial Hospital", or "Joe is sick so I called the Dr.".

Context Explanation

Rather, "doctor" is generally spelled out in such cases, where the term is used not as a title but a position or trade.