Fang Yi shourou pancake

When hands are cold in winter, rubbing hands together can make hands feel warm. This is friction and heat generation, which belongs to doing work to change the internal energy of objects.

When bottled drinks are put into the refrigerator, the drinks give off heat, and the temperature decreases, which changes the internal energy of objects through heat transfer.

So the answer is: do work; Heat transfer.