Thanks for writing in.
I think your daughter has a pinworm infection. This is making your daughter scratch. For the itching, you can give her Benadryl
syrup 1.5 tsp right now. This will make her drowsy. The following things need to be done:
a. She needs a single dose of mebendazole
after consulting her physician
b. Tell her to stop scratching as this will cause re-infection which will make the problem worse
c. Cut her nails short and tell her to wash her hands scrupulously every time she uses the bathroom
d. Her bed linen needs to be washed in hot, boiling water.
e. Use disinfectant to wash the seat she is using.
Hope this helps