My baby’s rectum came out

Dear Doctor;My baby’s rectum or something like that recently came out while he was easing herself. Some elderly women in the village helped ‘put’ it back but they said these things some time happen to children but cease as they grow. Is that possible? What could that have been? The child is three years old. Worried Mother.
The New Times
Times Reporter