Guilt has a purpose. A little bit of guilt is good. It does not allow you to get into a cycle of actions that are not good for you and for others. When such an action happens, the guilt in you acts like a brake for you not to continue with the act. However, guilt is good in the right amount and only for that period of that time. If it goes beyond a limit, it eats you like a termite. If you are stuck in guilt, your mind cannot blossom; you cannot rise above.
So, you need 'skill' to get out of your guilt. But at the same time, not totally remove it from the system till you realize that you are not the doer but the total light, the wisdom, the self. Until that blossoming, a little bit of guilt serves you.
To bring about that balance, we have spiritual practices, surrendering to the divine, and faith in the higher power and self. Go into the soul, "Satchidananda"- true, blissful, the consciousness.