Pain can originate from many different causes. It is very important to understand, that pain is a warning signal from the body. A stimulus that may be harmful is detected. Only if the cause of the pain has been identified, the warning signal has lost its function.
If you don’t know the cause of the pain, consult your physician or therapist.