Moving on from feeling shame.

I have made a mistake a work that was pointed out by a colleague in an email that was copied to other colleagues.
I have done a model and recognize that I am feeling shame. Is it just a matter of sitting with the feeling until it goes away and how do I know when to work on thoughts that will create better feelings?