How do you stop this endless pain?

We have no way of knowing what kind of pain you are suffering from, on the basis of your question. Pain comes in primarily two varieties. For physical pain, consult a doctor. For psychological pain, consult a therapist.