If pain does not improve in a few days, see your doctor, who may prescribe physical therapy to work on the flexibility and strength of the involved tendon, and possibly modify mechanics (how one performs the physical activity).