Tips on how to minimize and prevent nagging injuries from playing hockey:
Never stretch cold:
Stretching without a proper warm-up can actually cause more muscle injuries than prevent them. Always take a good 5-10 minute warm-up before playing and stretching. A few hard laps are a good start.
After each ice session, try to cool down your body gradually. A few easy/medium paced laps will do fine, as will a good post game stretch focusing on large, global movements. A proper cool down will help your body get rid of any lactic acid build-up that causes muscle cramping and fatigue.