Dental hospitals usually use the "pressurized high-temperature disinfection method"
This method can be done simply with a machine (basically, you just throw the instruments into the thing that looks like a microwave oven), which uses high pressure and high temperature to disinfect them, so you can rest assured that the disinfection method used in most hospitals is safe.
Hepatitis B HIV will die within minutes of leaving the body, and with sterilization, basically this infection will not occur
And if you have the hepatitis B antibody, it is effective in preventing infection with hepatitis B to a certain extent (nowadays, dentists are required to take the antibody)