The Foley catheter can stay in the bladder for days or weeks. Your child's doctor will tell you how long the catheter is needed. You will need to learn how to take care of your child's catheter and drainage bag to prevent infections.