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.