Guilt is cultivated when you continually allow yourself to dwell and think about how badly you’ve messed up, your pasts, the sins you’ve committed, etc. The enemy loves to remind us of our past failures, so he can keep us thinking about them. The problem is, if we allow ourselves to fall for this trap, it allows the enemy to build what they call a stronghold in our minds.
Your best bet is to learn what is going on, and stop Satan dead in his tracks. Learn the difference between condemnation and conviction, and stop listening to condemnation. Condemnation comes from the devil, and it’s meant to build strongholds in your mind and weaken you spiritually.