When I had this problem, a few years ago, my GP prescribed Oxybutynin patches. They're a bit like HRT patches that you stick at the top of your leg. It took a few months but really worked. Urge incontinence is more about your brain re-learning the signals that you need to go. I was also told that, when at home, I shouldn't go to the loo as soon as I felt the urge but to wait a few minutes as this also tells the brain it is OK to wait. As others have said, you need a diagnosis as different types of incontinence need to be treated differently.