When commuting - stopping, after some time of pedalling, usually makes me even more warm, at least for the first 5 or more minutes.
Preventing extra sweating is my main worry on those occasions.
At work, or at home - warmer clothes. However, if I get cold, and there's no heating, or it's inadequate, past a certain point, just adding warmer clothes doesn't cut it. Not before getting warm, getting the blood flowing again. Sit-ups and push-ups are a good way of achieving this.
Some strong liquer, like rakija, helps as well - but it too is temporary, just like push-ups, you need to have good warm enough clothes.
For just sitting in the cold, you generally need at least one more layer of clothing, compared to walking in the cold.
If it's windy, that means 2, or even 3 more layers of clothes (like sitting below just a roof, with no walls, or not even a roof).