Dealing with a little girl, I would use about 100 degree water for warm, then maybe 70 degree cool, back and forth until swelling is gone...so ideally, will take about 5-10 minutes.
Then ideally you discover why and correct the past best you can.
After all, it is just warm and cool water, not rocket science!