The sexual ideation in such situations is termed ego-dystonic or ego-alien, meaning that the behavior and/or attitudes are seen by the individual as inconsistent with his or her fundamental beliefs and personality. Therefore, OCD can decrease libido.
In situations where an individual experiences unwanted sexual thoughts or fantasies, they are referred to as ego-dystonic or ego-alien, meaning that these thoughts or behaviors conflict with their fundamental beliefs and personality. As a result, OCD can cause a decline in sex drive.