Remember: Shaytan wants two victories.
First, the sin. Second, your despair.
The second is often more dangerous than the first. Never give him both.
Keep fighting, The door of tawbah remains open. The goal is not perfection. As long as you keep returning to Allah