Doctor (non-medical) refers to a higher degree holder typically a Phd. In other words, Doctor is an academic qualification. On the other hand, Professor is a post or designation given to a university lecturer. Anyone can call himself a Doctor if you do a Phd.