Any medical doctor can prescribe medication, so they can assist you if you need medication for anxiety, and many people do get prescriptions from their MD. However, if possible, it’s best to see a psychiatrist or another doctor who specializes in mental health disorders.