Never tried this before, and it's an unconventional way but they say that you can build mental fortitude by literally watching porn and making effort to not jerk off. Apparently this conditions the mind to stop making it a habit to reach for your dong.