Well, learning out to write when you aren’t crazy horny is a good technique that I’ve slowly gotten better at. Beyond that, I’ve gotten better at edging over time, and just trying to keep my hand off until I’m ready to be done with writing for the day.