The average adult can hold their pee for about 3 hours but if you have trouble with this you probably have some type of urinary incontinence.
More generally, be mindful of what you eat and drink before bed. A good rule of thumb is to avoid water and other fluids two ...