3
For one, you get rid of something, not from it.
For another, it appears to me you get rid of something you have, or even own. Not of something you do. So Jack can get rid of his bad habit, perhaps, but telling him to get rid of smoking sounds like a poorly translated from German invitation to u...