@agatha I am in Germany, and it is different here.
A "psychologist" is just someone who has a degree in psychology, it's not a job title at all, at least officially.
A "psychiatrist" is a medical doctor who practices psychiatry. They are the one to both diagnose conditions and prescribe specific remediations for these conditions, i. e. usually medicine or a kind of therapy.
And a "psychotherapist" is not a doctor, but they perform specific therapies as prescribed by a psychiatrist.