Every object emits and absorbs infrared radiation all the time. Whether it warms up or cools down depends on which is bigger: what it emits, or what it absorbs from its surroundings.
All objects emit and absorb infrared radiation all the time. The hotter an object is, the more infrared radiation it emits in a given time.
An object colder than its surroundings absorbs more radiation than it emits, so its temperature increases. An object hotter than its surroundings emits more than it absorbs, so its temperature decreases. At the same temperature, it absorbs the same amount as it emits, so its temperature stays the same.
Dark, matt surfaces are good absorbers and good emitters of infrared. Light, shiny surfaces are poor absorbers and poor emitters, because they reflect most of the infrared that hits them. A shiny object takes longer to reach the temperature of its surroundings, but it ends up at the same temperature.