What to do when you’ve lost your cool

It gives me some comfort to know I’m not the only one who has hard days and loses my cool.But even though it’s normal, that doesn’t take away the sinking feeling in the pit of my stomach after I’ve had the equivalent of an adult tantrum. I feel guilty and ashamed, and wish I could take it all back.