Mild to moderate hamstring strains can be treated at home with rest, ice, compression, and elevation, as well as certain supplements and exercises.