The autoclaves used by piercing studios for sterilization are required to undergo regular spore testing. This uses highly resistant bacterial spores to ensure that they’re reliably killed. The test will normally be carried out by a public or private health body, which issues a certificate.
A good piercing studio should display this for customers, or show it on request. Always ask to see the certificate before you choose a studio.