You can apply these steps when you feel shame or other emotions!
You can recognize that being imperfectly good is enough. You can change your relationship with the unpleasant internal experiences (e.g., anxiety, shame, guilt, and uncertainty) and find joy in what matters most to you—your values.
Be patient and remember that though you may be imperfectly good, it is possible to navigate religious and moral anxiety (scrupulosity OCD) so you can release fear and find peace!