One would need to know your age, past urological history, surgeries, medications and other things.
You may just have oa-overactive bladder
and there are medications to help you. Keegle exercises may be of benefit to you. You should start with your pcp and if needed see a urologist or uro-gynecologist
for a proper evaluation and treatment.