Habib Umar was asked, "Many young people complain that it is difficult for them to leave certain acts of disobedience. When they do manage to repent, they often fall into the same sin again. How are they able to repent sincerely?"
'Do not deem yourself incapable of repenting even if you keep committing the same sin a hundred times a day. Do not forget that you have a Lord Who is completely aware of you. As long as you repent to Him sincerely He will forgive you of this each time even if you keep repeating the same sin. He will rid you of this disobedience in due course, according to your sincerity. Rasūlullāh ﷺ said, 'By Him in whose hand is my soul, if you did not sin, Allah would replace you with people who would sin and then seek forgiveness from Allah - and He would forgive them.”
Don't ever cut your connection to Him. Never believe what the Devil, your enemy, tells you. Don't tell yourself, 'I've got no hope and I will never be able to stop doing this.' No! This is a ploy which your lower self and the Devil uses to cut you off from your Lord. Go back to Him in a state of remorse and humility, and say, “O Lord, help me.” If you fall into it again, return to Allah with remorse once again, repent and resolve never to do it again. When Allah witnesses your sincerity and persistence, He will have mercy on you. He will strengthen you and save you from this act of disobedience, whenever He wishes.