Why do you think it is happening? Are you stressed? Are you getting proper sleep? Any substance abuse involved? Urinary incontinence is different than bed wetting such as you are doing. This requires medical examination for things like: A blockage (obstruction) in part of the urinary tract, such as from a bladder stone or kidney stone; Bladder problems, such as small capacity or overactive nerves; Diabetes; Enlarged prostate; medication side effect; Neurological disorders; Obstructive sleep apnea; Urinary tract infection.
So, you really need to see a urologist and make sure there isn't a medical reason for why this has started up. Let us know what they say.