Welcome to the forums. There is nothing we can do about past behavior except not repeat it. Addiction is at times quite difficult to recover from unless we keep trying and not give into the cravings one moment at a time.
Keep coming and read a lot.
BE WELL