If a creature or an object has Resistance to a damage type, damage of that type is halved against it.
Resistance is applied after all other modifiers to damage. Multiple instances of Resistance to the same damage type don’t stack.
Vulnerability works the opposite way: damage of that type is doubled instead of halved.