Hair stuck in child’s bottom- to pull or not to pull?

Patient: My daughter sometimes eats her doll’s hair, which is made of yarn. When the hair comes out and gets stuck in her anus, is it safe to pull it out or is it best to leave it alone? What are the possible risk factors of pulling it out?

Doctor: