If the pain is not obvious and is not intense, as well as pain determined to be due to excessive exercise, it can be relieved by applying heat and massage at home itself.
If the pain is more intense and the cause is unknown, you should go to the hospital for diagnosis and receive appropriate treatment in time to avoid delaying the condition.