health & drug

How can doctors treat a person with a mental health drug if they can not in the first place prove that a person has a mental illness? How can doctor treat a person that is suppose to have a mental illness with drugs when they can not prove what dosage works either from test?