which gatha of bhaktamar strotra helps in leg pain relief
Traditionally, the 17th gatha of Bhaktamar Stotra is recited for relief from diseases and pain, so for leg pain people usually chant the 17th gatha with श्रद्धा and devotion. ( jainknowledge.com)
This is a traditional belief, not a medical treatment.