When Satan is allowed to attack you, God is putting you through the test. The Evil One always tempts you into believing what you are doing is justifiable, even though you know deep down in your heart that it's wrong. Loss of peace is a strong sign that you've been trapped. Praying hard for deliverance and talking to someone spiritually wise can be most helpful. Know that once you pull through, you'd be brought closer to God, just as after a storm dies down, the sky turns blue again.