Toddler question?

Hi guys I have an important question.. my toddler is 4 years old and has been potty trained since about 1.5 now every since about a year ago she starts to have accidents almost 2-3 times a day and cannot stay dry even when we tell her to go. I have no clue to what else to do I have talked with the dr and the dr did a bladder test with a catheter but everything with that was fine. Now I think the dr want to do a physiological test and possibly give meds. Idk what to do . Is there anyone in the same boat?