Your doctor may prescribe medications that could cause you not to pee. Its important to check with your doctor before stopping any medication youre taking, as doing so without consulting a medical professional can be dangerous and even fatal.