This may be incontinence in which case there are lots of drugs to fix this. It is important to differentiate incontinence from excessive urine production (urine sample will answer this) as this may indicates other problems, eg diabetes, kidney failure. Get a urine sample tested.