Stretch it out.
Before working out an extended warm-up and gentle dynamic stretches (stretches that involve movement) are necessary to fully prepare your body for exercise and reduce the effects of DOMS. After your workout do static stretches (Stretches you hold).
Warm up before weight training.
Loading your muscles without adequate preparation increases your chance of getting severe DOMS and also puts you at risk OF pulling a tendon , ligament or muscle during your workout. Do cardio first, or some jumping jacks or skip rope.
Hydration before and during your workout prevent cramping and decrease inflammation after exercise.
Work out with correct form
Lifting 40 kg’s with the correct form, will have more benefits and less soreness that lifting 80kg’s incorrectly