Depends on the severity of the injury. I had a pulled hamie when running track a long time ago. The Dr told me to not run for 4 to 6 weeks if i wanted to run with any sucess and not severly ruin it for the next year. My coach wouldn't listen and put me in a relay because the swelling had gone away after four weeks. Pulled it again severly and never was the same again. I'm sure their procedures are a lot better now and the healing faster but i would say at least 4 weeks.