What can I do to solve urinary incontinence?

Type matters. If you have urge incontinence (leakage with the "gotta-go" feeling), then treatments include bladder training with diet modifications, medications, Botox injections into the bladder wall, or implanted neuromodulating devices. If you have stress incontinence (leakage with cough, lifting, exercise, laughing, etc), then treatments include kegel exercises, vaginal pessaries, or surgery.
Simple stuff. Simply voiding on a schedule, say every 2 hours, whether you have an urge or not, will help many times. Also, performing structured pelvic muscle exercises (kegels) on a daily basis may help. See your doctor if symptoms worsen.

Related Questions

How do you treat urinary incontinence in men?

Depends on cause. Urinary incontinence in men can result from different things. For instance, some men have leakage due to urinary retention leading to "overflow" incontience. Others may have overactive bladders causing urge incontience. Still others may have leakage results from surgery. Only a healthcare provider can help you determine what type of incontinence you have and how best to treat it. Read more...
Male incontinence. Depends on the cause. Should have a proper urologic work up to include cystoscopy and possibly urodynamics. Read more...