Damaged packaging is one way to tell. Always inspect the condom and feel it before you put it on. You can also check it when it is on the erect penis. A condom that sticks to itself, is gummy or brittle, isn’t the same color all over, or has tears or holes shouldn’t be used.
Do not unroll the condom or fill it with air or water to check it as this can also damage the condom.