I'm sorry you're distressed, Rainbow.
I think what you would want to do is take care of the child's needs with your adult parts. Maybe it's more about tuning into the child part, hearing her, and then meeting her needs so she doesn't feel it necessary to act out. I hope you can be compassionate with yourself, Rainbow.
Take care.