Take care of yourself while your child is experiencing temper tantrums
It is very challenging, but possible: Center yourself; do not let negative thoughts about yourself enter your mind. And if they do, “talk back” to them.
Remind yourself that you are a good person and a good parent. That this is an important experience for your child, so you have to stay the course.
You can practice centering yourself before the temper tantrums occur. You can research the subject, learn it from your yoga practice, from friends, or from books. Or create a process works for you. Do whatever it takes not to be caught up in the drama.