I believe that you might be referring to Overactive Bladder, a condition caused by sudden involuntary contraction (overactivity) of the bladder detrusor muscles that results in urgency and incontinence.
There are treatments that can help, such as anticholinergic agents that target the muscarinic receptors in the bladder, and they reduce the contractility of the muscles in the bladder.
There can be a number of causes of this condition, including neurological problems, bladder infections (one of the most common causes), medications, cancer, etc. You should be checked for any of these by your physician.
Thank you so very much for answering my question!!!