Speaking anecdotally, a single shroom trip can effectively help you abstain from most addictive substances.
Hmm, how come?
Explaining doesn't do it justice; it's simply an experience that must be undergone to understand what I mean. If you do decide to partake, I advise starting with micro-dosing before attempting larger doses -- though there's nothing wrong with larger quantities for first-timers (it's really up to you). Additionally, I highly recommend having an experienced user to guide you on your journey. When you feel comfortable enough, experiencing it alone is where the real magic begins!