Is heat or cold better to treat sore muscles?

Cold. In general icing is better then heat for muscle soreness.
Cold 1st week. During your first week of injury, cold's better. After your first week, you pick which feels better for you: cold or hot.