I read a book about this horrible disease parasite thing, that can be s3xually transmitted, and it makes the infected person constantly horny, but he/she can't have s3x, so the main character kept a rubber band around his wrist, and when he got thoughts related to the topic he'd snap it, so his brain would associate s3xual thoughts with pain.