Please help my daughter

Patient: I have a three year old daughter that is going pee on a small potty pretty much all the time. Well Sat. she wanted to poop on the potty so of course we were excited and she went. Well an hour later she had to pee again and wanted nothing to do with the potty and wanted a diaper on. Well I had to put one on her cause she was so upset and shaking. Now she will hold it as long as she can even with diaper on and wants us to sit on the floor and hold her while she goes. right now she is pacing the living room floor and I know she has to poop.. Please help us I don’t know what to do for her!!