Back on topic here,
But, what if you’re needing to hold it in :grrr:
Holding it in longer than is comfortable is not generally a good idea. It increases your risk of getting a urinary tract infection.
If you are just leaking even when the bladder is not especially full you need to determine the cause first. It could be a urinary tract infection, a neurologic disorder, a prostate issue, or something as simple as age related weakness in the sphincter muscle. You need to see your doctor and figure out why its happening before any treatment can be recommended.