The medicines that are usually used are called "selective serotonin reuptake inhibitors", or SSRIs. These medicines work by stopping a chemical in the brain called serotonin from working. This causes the obsessive thoughts to happen less. In adults, SSRIs are used for people with moderate or severe issues. In children, SSRIs are used after or with therapy for people with severe issues.