How do you get rid of the pain?
You don’t. Allow yourself to feel it. The body shifts energy for survival.
Once you understand it, you make it your friend, so it teaches you a lesson rather than continue to hurt you. Then you grow. Pain is a necessary inconvenience.