A selective serotonin reuptake inhibitor is used to treat anxiety, serious depression, and obsessive-compulsive behavior.