Honestly, I am new to a lot of this stuff, so I am definitely not an expert on the subject. However, I have been doing some research on the matter, and it seems most people recommend stretching the opposing muscle group in such cases. For example, if you injured your hamstring, you would stretch your thigh. You would also want to stretch the surrounding muscle groups, seeing as how our entire body is fit together, so that every part of your body affects every other part. I realize that by now you are probably back to skating, but for anyone else who reads this and has a similar issue, I would still suggest looking into it a bit, as, like I said, I am new to a lot of stuff (PE was about as far as I got when it came to exercise, until almost two months ago, when I found crossfit), but at least it’s a start.
A sedentary lifestyle can lead to having weak and tight hip flexors as they are always in the shortened position. Tight hip flexors can lead to a limited range of motion, poor posture, lower back and hip pain, and even injuries. These muscles need to get a workout when you are standing and doing movements such as raising your leg to climb stairs, run, or ride a bicycle.​