Self harm

Has anyone who use to or still do self harm struggle with not doing it anymore? I sometimes struggle the most when I’m drunk and upset at the same time. I started when I was about 11 or 12 because of family problems and almost stopped when I about 21 or 22