Yoga is one of the best method to cure this problem as by yoga we learn how to control our feelings and our desires. Yoga also helps us to live disciplined and health life.
Maybe pelvic floor exercises would help. They strengthen the muscles that help you hold your pee in when you really need to pee, and stop you leaking when you laugh, cough, sneeze or whatever.
There are references in some books about how to not get the Bubonic Plague or the "black death" Some say some robbers were going from house to house, stealing from the dead, and they never got sick....