In English, (1) somebody who's got a PhD and (2) somebody who's licensed to treat injured or sick people are both called doctor. Bahasa Indonesia distinguishes them: doktor for the former and dokter for the latter. And the abbreviations are different, too: Dr. (capital D) means doktor and dr. means dokter.
So if your name is Philo Sophia and you're a medical doctor who happens to earn a doctorate degree, your name with the titles would be written: Dr. dr. Philo Sophia.