Just repetition. Most people quit working out at the gym after the first 1-2 times because of the intense soreness the following day(s). The trick is to keep at it for 1-2 weeks. After your body has adjusted, the post-workout soreness will be minimal but you'll feel refreshed and revived for 24 hours (in my experience)