Ice and heat therapy for pain relief