Quoted By:
What if you come up with some hobby and then immerse yourself into it so much that it's literally all you ever think about. Then when you're only thinking about that one subject, there's no room left for thinking about sex. I've seen this works. It could be programming, astronomy, mathematics, etc. Anything that interests you.