Luvox drug is used to treat OCD, or obsessive-compulsive disorder. Fluvoxamine is a member of the selective serotonin reuptake inhibitor (SSRI) pharmacological class. It functions by assisting in the restoration of serotonin, a natural chemical, in the brain.