Tendons attach muscles to bone, and they can become irritated or inflamed and cause pain. An injection of medicine, usually a steroid, into the tendon can reduce the inflammation and pain and make moving the joint more comfortable.