The first thing to do would be to stop using your teeth, and then consult a dentist. The next step is often that they will numb the area with some sort of liquid in order not to cause you any more harm or discomfort. They might also use something like an irrigator which can carry away things from inside your mouth.