Comment on
YSK that if your knees hurt when running, there's a good chance it's due to incorrect form.
Reply in thread
Dynamic stretching before, static stretching after. You just want to get your muscles used to the range of movements before you start, as overstretching can potentially hinder performance. I just do a few csun salutations after my 5min warmup.