in ascetic engineering
. First, find a refuge
from sex. Minimize social contact
that has historically led to sex
. If necessary, put the word out that you are not available for sex
Remove reminders of sex from your refuge, and from all the places you frequent, as much as possible. Wear clothing that does not remind you of, or stimulate, your own sexuality. If and when you find yourself thinking of sex, firmly tell yourself to "Stop!" and replace the sexual imagery with something nonsexual, such as a relaxing beach or mountain scene.
Consider how best to sublimate and channel your sex drive into something productive and/or artistic. Libido will express, it is up to you to rule it, or be ruled by it.