Hamstring injuries suck badly. I had a friend who was a runner - he pulled or tore his ham really badly and his leg was blue etc. Took a year + to heal where he could lift and run again.
BE CAREFUL - stretch slowly, and limp - go to a Doc if it's real bad, Hams take a good amount of time to heal.