Stretch! You can google for good stretches for the hamstring (they're hard to put into words, websites have photos!
). Especially when your muscles are nice and warm from activity, stretching is a great way to ease the soreness. Also drink lots of water as your muscles are busy using water to repair themselves!