Stop in for a cup of coffee

I thought ice was for pain and heat to heal. Pain is nill if just sitting.
For a while I was told no heat.
PT now says that cold is for inflamation and also after excercise.
IDK.