That's how I stopped drinking liquor! When I was around 20, I drank way, way too much and was in bed for more than 3 days. It's been 30 years since and I still can't smell or drink anything stronger than wine without getting repulsed.
I wish I could do this with other bad foods.