1. Cut back on caffeine or salty snacks, which can make the problem worse. 2. Find out if there is a recent trauma that has caused this. For example, stress or anxiety of a new school. 3. This can also happen if the child is not getting enough bathroom breaks. Take her potty more often.