The word Doktor is understood to mean "medical doctor" if the context hints at that, e.g. Du musst mal zum Doktor gehen. – You have to see a doctor. Unlike in English, however, this is not the case if the context is more general: Mein Vater ist Doktor. – My father has a PhD / a doctor's degree. The common word for "medical doctor" is Arzt.