A psychiatrist is a medical doctor who is authorized to prescribe medication. While psychiatrists will diagnose your mental health condition and determine the proper treatment plan, they typically do not offer talk therapy or cognitive behavioral therapy (CBT) and will refer you to a psychologist for those services.
A psychologist is not a medical doctor but is trained in helping clients with mental health conditions. Psychologists cannot prescribe medication—except in Idaho, Illinois, Iowa, Louisiana, and New Mexico—but can diagnose issues like anxiety, depression, or phobias and provide talk therapy, CBT, or other treatments.
Most doctors recommend seeing both a psychiatrist and a psychologist to address your condition from both angles.