This is kinda hard because if she does something stupid, you have to explain to her in a controlled manner. Doing that will not prevent her from repeating that behavior. And at some point you become angry and she lose respect for you.

What is the best solution for that? Do you have to give her an ultimatum in order to respect that boundary?