Delayed onset muscle soreness is a normal response to unfamiliar work, especially eccentric loading. It usually peaks 24 to 48 hours afterwards and settles within a few days. Soreness is not a measure of how effective a session was.
Soreness follows microscopic disruption to muscle fibres and connective tissue, along with the inflammatory response that repairs them. Eccentric work, where the muscle produces force while lengthening, causes the most: Lowering a weight slowly, running downhill, deep lunges, and Nordic curls are classic offenders. Contrary to a persistent myth, lactate has nothing to do with it and clears within an hour of finishing.
Novelty is the main trigger. A new exercise, a return after time off, a big jump in volume, or a new range of motion all produce more soreness. The repeated bout effect means the same session performed a week later causes far less, even without any change in fitness.
Massage and foam rolling may reduce the sensation temporarily. Stretching does not prevent it. Anti-inflammatory medication can mask it but may interfere with the adaptation you trained for.
Introduce new exercises at modest volume, add eccentric work gradually, and avoid jumping into an entirely new programme at full volume. Two or three easier exposures are enough to blunt the response substantially.
Experienced lifters make excellent progress while rarely feeling sore, and a punishing session that leaves you unable to walk is often less productive than a controlled one you can repeat in 48 hours. Chasing soreness is chasing novelty, not adaptation.
Severe soreness with significant swelling, dark urine, or extreme weakness after unusually hard or unaccustomed training requires urgent medical attention. Sharp, localised, or joint-centred pain is also a different thing from muscular ache and should be assessed.