Using a rubber dam.