Do resistances from class and Ancestry stack?

The Kobold ancestry can lead to you gaining a resistance vs. fire while the dragon disciple ancestry can do the same. If you have both do these stack or does only one of them count?