Quoted By:
If you are serious:
Wear a chastity cage. You put it around your dick and lock it with a key. Then, it can't become erect. Some versions can be worn under your clothing undetected.
Of course it won't work if you always have the key in reach. Give it to someone or store it somewhere else, other than your home.