Cold treatment is best for a hamstring strain since it helps stop internal bleeding in the damaged tissue and reduces inflammation.