Exposure and response prevention (ERP) is a type of cognitive-behavioral therapy used to treat obsessive-compulsive and related disorders. It involves gradually exposing the individual to the source of their obsessions while preventing them from engaging in the compulsive behaviors that provide temporary relief, with the goal of reducing the power of the obsessions and compulsions over time.