2. Try ice Applying ice to your pulled hamstring can reduce both pain and swelling, says Enad. Try wrapping an ice pack or bag of ice in a towel or cloth and resting it directly on the injury for ...