Most tattoo parlors use an autoclave to sterilize their equipment. An autoclave is a device that is commonly used in hospitals and by dentists to sterilize their equipment. The tools that need to be sterilized are put inside the autoclave which then heats up enough to kill any viruses or bacteria.
Many tattoo parlors also use disposable instruments. Disposable instruments will come individually wrapped so you know they are clean and safe.