Preventing leakage could be as simple as squeezing muscles you already use several times a day. All they need is some work to get back in shape.
Schedule your bathroom visits. Going only at regular intervals, for example every two hours, can help you gain more control over your bladder. If you feel you have to go before scheduled time, use the pelvic floor exercises to hold it until the urge passes. Over time you can train yourself to go less frequently. Making the intervals between bathroom breaks longer.